We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5224970 commit 3192ed8Copy full SHA for 3192ed8
js/terminal.js
@@ -9,9 +9,7 @@ function runRootTerminal(term) {
9
term.runDeepLink();
10
term.prompt();
11
12
- window.on('load', () => {
13
- window.addEventListener("resize", term.resizeListener);
14
- });
+ window.onload = (_) => { window.addEventListener("resize", term.resizeListener) };
15
16
term.onData(e => {
17
if (term._initialized && !term.locked) {
0 commit comments