You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invoking the terminal sometimes yields an error "Cannot set property 'innerHTML' of undefined" #7357
bugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
//usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:87 Cannot set property 'innerHTML' of undefined: TypeError: Cannot set property 'innerHTML' of undefined
at Terminal.refresh (/usr/share/code-insiders/resources/app/node_modules/term.js/src/term.js:1704:32)
at t.setTheme (file:////usr/share/code-insiders/resources/app/out/vs/workbench/parts/terminal/electron-browser/terminalPanel.js:4:4880)
at t.updateTheme (file:////usr/share/code-insiders/resources/app/out/vs/workbench/parts/terminal/electron-browser/terminalPanel.js:4:8268)
at t.setVisible (file:////usr/share/code-insiders/resources/app/out/vs/workbench/parts/terminal/electron-browser/terminalPanel.js:4:7538)
at file:////usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:89:7842
at __dirname.undefined.t.Class.define.then (file:////usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:23:19425)
at t.showComposite (file:////usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:89:7037)
at file:////usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:89:5287
at __dirname.undefined.t.Class.define.then (file:////usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:23:19425)
at file:////usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:89:5042
bugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
Activity
Tyriar commentedon Jun 7, 2016
I just hit this on Linux, here's a trace:
Tyriar commentedon Jun 7, 2016
This looks like an upstream but with term.js, I'll diff the code with what we're moving towards (xterm.js) and see if the bug is present in that too.
Tyriar commentedon Jun 7, 2016
I think I found the issue, there's a workaround and also a likely upstream fix to prevent this in the future. xtermjs/xterm.js#86
Tyriar commentedon Jun 7, 2016
This will be fixed when #7288 is merged as it's no longer necessary to call refresh to update the theme.