je connais pas le js moi

This commit is contained in:
piair 2024-02-28 12:02:41 +01:00
parent 0abb8a3494
commit 7bdf229fa8
1 changed files with 3 additions and 0 deletions

View File

@ -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);