mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-09 23:34:26 +00:00
Merge pull request #179 from badoo/hterm_deactivate_fix_pull
Stop hterm spamming with errors to console after deactivate()
This commit is contained in:
commit
8df0bf44a8
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user