Merge pull request #2195 from xtermjs/Tyriar-patch-1
Fix addon import quotes
This commit is contained in:
@@ -67,8 +67,8 @@ npm i -S xterm-addon-web-links
|
|||||||
Then import the addon, instantiate it and call `Terminal.loadAddon`:
|
Then import the addon, instantiate it and call `Terminal.loadAddon`:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { Terminal } from 'xterm`;
|
import { Terminal } from 'xterm';
|
||||||
import { WebLinksAddon } from 'xterm-addon-web-links`;
|
import { WebLinksAddon } from 'xterm-addon-web-links';
|
||||||
|
|
||||||
const terminal = new Terminal();
|
const terminal = new Terminal();
|
||||||
// Load WebLinksAddon on terminal, this is all that's needed to get web links
|
// Load WebLinksAddon on terminal, this is all that's needed to get web links
|
||||||
|
|||||||
Reference in New Issue
Block a user