mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-11-05 15:26:36 +00:00
Switch linkify for fit in readme
Linkify doesn't work currently so it shouldn't be used as an example.
This commit is contained in:
parent
13644ce351
commit
9dd64dfb49
@ -29,13 +29,13 @@ To use an addon, just include the JavaScript file after xterm.js and before the
|
||||
|
||||
```html
|
||||
<script src="node_modules/src/xterm.js"></script>
|
||||
<script src="node_modules/addons/linkify/linkify.js"></script>
|
||||
<script src="node_modules/addons/fit/fit.js"></script>
|
||||
```
|
||||
|
||||
```js
|
||||
var xterm = new Terminal();
|
||||
// init code...
|
||||
xterm.linkify();
|
||||
xterm.fit();
|
||||
```
|
||||
|
||||
## Contribution and License Agreement
|
||||
|
||||
Loading…
Reference in New Issue
Block a user