forked from piair/MsRewards-Reborn
close to working
This commit is contained in:
parent
7bdf229fa8
commit
3d096ec34c
@ -28,11 +28,8 @@
|
||||
|
||||
</script>
|
||||
<script>
|
||||
import {Terminal} from 'xterm';
|
||||
import {FitAddon} from 'xterm-addon-fit';
|
||||
|
||||
var term = new Terminal();
|
||||
const fitAddon = new FitAddon();
|
||||
const fitAddon = new FitAddon.FitAddon();
|
||||
term.loadAddon(fitAddon);
|
||||
term.open(document.getElementById('console'));
|
||||
fitAddon.fit()
|
||||
|
Loading…
Reference in New Issue
Block a user