je connais pas le js moi
This commit is contained in:
parent
0abb8a3494
commit
7bdf229fa8
|
@ -28,6 +28,9 @@
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
|
import {Terminal} from 'xterm';
|
||||||
|
import {FitAddon} from 'xterm-addon-fit';
|
||||||
|
|
||||||
var term = new Terminal();
|
var term = new Terminal();
|
||||||
const fitAddon = new FitAddon();
|
const fitAddon = new FitAddon();
|
||||||
term.loadAddon(fitAddon);
|
term.loadAddon(fitAddon);
|
||||||
|
|
Loading…
Reference in New Issue