resize terminal on animation end

This commit is contained in:
piair 2024-02-28 15:04:19 +01:00
parent 36fd92f71c
commit 8c224793b0
2 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,9 @@
term.loadAddon(fitAddon);
term.open(document.getElementById('console'));
fitAddon.fit()
addEventListener("transitionend", (event) => {
fitAddon.fit()
});
document.getElementById("console").style.textAlign = "left"
const eventSource = new EventSource('/stream');

View File

@ -1 +1 @@
v6.8.37
v6.8.38