merge write methods, optional callback

This commit is contained in:
Jörg Breitbart
2019-09-12 13:36:58 +02:00
parent ffd27dfef0
commit 75ba717bd7
8 changed files with 85 additions and 203 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ import { ISelectionService } from 'browser/services/Services';
export class TestTerminal extends Terminal {
writeSync(data: string): void {
this.writeBuffer.push(data);
this._writeBuffer.push(data);
this._innerWrite();
}
keyDown(ev: any): boolean { return this._keyDown(ev); }