Create InputHandler which performs C0 actions

Part of #459
This commit is contained in:
Daniel Imms
2017-01-08 16:11:35 -08:00
parent 1685cf2d8f
commit 04b1ebf1a7
3 changed files with 73 additions and 16 deletions
+13
View File
@@ -32,3 +32,16 @@ export interface ITerminal {
scrollDisp(disp: number, suppressScrollEvent: boolean);
cancel(ev: Event, force?: boolean);
}
/**
* Handles actions generated by the parser.
*/
export interface IInputHandler {
bell(): void;
lineFeed(): void;
carriageReturn(): void;
backspace(): void;
tab(): void;
shiftOut(): void;
shiftIn(): void;
}