mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-22 11:54:19 +01:00
Upgrade to xterm.js 2.6.0
This commit is contained in:
@@ -48,14 +48,13 @@
|
||||
});
|
||||
window.addEventListener('beforeunload', unloadCallback);
|
||||
term.fit();
|
||||
term.focus();
|
||||
});
|
||||
|
||||
while (terminalContainer.firstChild) {
|
||||
terminalContainer.removeChild(terminalContainer.firstChild);
|
||||
}
|
||||
|
||||
term.open(terminalContainer);
|
||||
term.open(terminalContainer, true);
|
||||
};
|
||||
|
||||
ws.onmessage = function(event) {
|
||||
|
||||
Reference in New Issue
Block a user