multiple changes in InputHandler:

- remove prefix/postfix
- optional collect arg where needed
- tempPrefix handler removed
- replaced .bind with () => notation
- moved callback registering to ctor again
This commit is contained in:
Jörg Breitbart
2018-05-01 14:32:08 +02:00
parent af392a6305
commit aeae688b4c
7 changed files with 90 additions and 171 deletions
-2
View File
@@ -91,8 +91,6 @@ parser.setOscHandlerFallback((...params: any[]) => {
else testTerminal.actionOSC(params[0] + ';' + params[1]);
});
parser.setDcsHandlerFallback(new DcsTest);
// FIXME: to be removed
parser.setPrefixHandler(() => {});
describe('EscapeSequenceParser', function(): void {