add DCS interface, payload limits for DCS/OSC

This commit is contained in:
Jörg Breitbart
2019-07-26 15:59:24 +02:00
parent 82aaef29f1
commit a9b2728c07
9 changed files with 105 additions and 19 deletions
+1
View File
@@ -201,6 +201,7 @@ export interface IPublicTerminal extends IDisposable {
open(parent: HTMLElement): void;
attachCustomKeyEventHandler(customKeyEventHandler: (event: KeyboardEvent) => boolean): void;
addCsiHandler(flag: string, callback: (params: IParams, collect: string) => boolean): IDisposable;
addDcsHandler(collectAndFlag: string, callback: (param: IParams, data: string) => boolean): IDisposable;
addEscHandler(collectAndFlag: string, handler: () => boolean): IDisposable;
addOscHandler(ident: number, callback: (data: string) => boolean): IDisposable;
registerLinkMatcher(regex: RegExp, handler: (event: MouseEvent, uri: string) => void, options?: ILinkMatcherOptions): number;