Fix addon import quotes

This commit is contained in:
Daniel Imms
2019-06-06 12:56:04 -07:00
committed by GitHub
parent 7f4ba5bf57
commit f5ee335a43
+2 -2
View File
@@ -67,8 +67,8 @@ npm i -S xterm-addon-web-links
Then import the addon, instantiate it and call `Terminal.loadAddon`:
```ts
import { Terminal } from 'xterm`;
import { WebLinksAddon } from 'xterm-addon-web-links`;
import { Terminal } from 'xterm';
import { WebLinksAddon } from 'xterm-addon-web-links';
const terminal = new Terminal();
// Load WebLinksAddon on terminal, this is all that's needed to get web links