encapsulate deferred writing in WriteBuffer class

This commit is contained in:
Jörg Breitbart
2019-09-13 16:31:28 +02:00
parent e402772cf7
commit c2ec16a16c
5 changed files with 127 additions and 96 deletions
-4
View File
@@ -19,10 +19,6 @@ import { IParams, IFunctionIdentifier } from 'common/parser/Types';
import { ISelectionService } from 'browser/services/Services';
export class TestTerminal extends Terminal {
writeSync(data: string): void {
this._writeBuffer.push(data);
this._innerWrite();
}
keyDown(ev: any): boolean { return this._keyDown(ev); }
keyPress(ev: any): boolean { return this._keyPress(ev); }
}