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.
2 parents 5224970 + 3192ed8 commit 9974434Copy full SHA for 9974434
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