mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-11-07 20:38:31 +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
|
```html
|
||||||
<script src="node_modules/src/xterm.js"></script>
|
<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
|
```js
|
||||||
var xterm = new Terminal();
|
var xterm = new Terminal();
|
||||||
// init code...
|
// init code...
|
||||||
xterm.linkify();
|
xterm.fit();
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contribution and License Agreement
|
## Contribution and License Agreement
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user