resize terminal on animation end
This commit is contained in:
parent
36fd92f71c
commit
8c224793b0
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue