dcs handler implementations

This commit is contained in:
Jörg Breitbart
2018-05-02 00:22:35 +02:00
parent 25ff77af03
commit a1a4cac113
2 changed files with 92 additions and 1 deletions
+2
View File
@@ -454,6 +454,8 @@ export interface IParsingState {
* EscapeSequenceParser handles DCS commands via separate
* subparsers that get hook/unhooked and can handle
* arbitrary amount of print data.
* NOTE: EscapeSequenceParser might call `put` several times,
* therefore you have to collect `data` until unhook is called.
*/
export interface IDcsHandler {
hook(collect: string, params: number[], flag: number): void;