Commit 8df0bf44 by Iwasaki Yudai Committed by GitHub

Merge pull request #179 from badoo/hterm_deactivate_fix_pull

Stop hterm spamming with errors to console after deactivate()
2 parents 9ac120a5 b4728f6a
Showing with 3 additions and 3 deletions
...@@ -75,9 +75,9 @@ export class Hterm { ...@@ -75,9 +75,9 @@ export class Hterm {
}; };
deactivate(): void { deactivate(): void {
this.io.onVTKeystroke = null; this.io.onVTKeystroke = function(){};
this.io.sendString = null this.io.sendString = function(){};
this.io.onTerminalResize = null; this.io.onTerminalResize = function(){};
this.term.uninstallKeyboard(); this.term.uninstallKeyboard();
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!