mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-04-20 03:11:48 +02:00
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…
x
Reference in New Issue
Block a user