提交 cea821dc 编写于 作者: D Daniel Imms

Suppress console warning from new xterm.js

上级 73ccfe39
...@@ -220,7 +220,7 @@ export class TerminalInstance implements ITerminalInstance { ...@@ -220,7 +220,7 @@ export class TerminalInstance implements ITerminalInstance {
DOM.addClass(this._wrapperElement, 'terminal-wrapper'); DOM.addClass(this._wrapperElement, 'terminal-wrapper');
this._xtermElement = document.createElement('div'); this._xtermElement = document.createElement('div');
this._xterm.open(this._xtermElement); this._xterm.open(this._xtermElement, false);
this._xterm.attachCustomKeydownHandler((event: KeyboardEvent) => { this._xterm.attachCustomKeydownHandler((event: KeyboardEvent) => {
// Disable all input if the terminal is exiting // Disable all input if the terminal is exiting
if (this._isExiting) { if (this._isExiting) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册