close to working

This commit is contained in:
piair 2024-02-28 12:09:32 +01:00
parent 7bdf229fa8
commit 3d096ec34c
2 changed files with 2 additions and 5 deletions

View File

@ -28,11 +28,8 @@
</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.FitAddon();
term.loadAddon(fitAddon); term.loadAddon(fitAddon);
term.open(document.getElementById('console')); term.open(document.getElementById('console'));
fitAddon.fit() fitAddon.fit()

View File

@ -1 +1 @@
v6.8.29 v6.8.30