add parser property to interface

This commit is contained in:
Jörg Breitbart
2019-08-16 21:14:49 +02:00
parent 29a6f3f3ca
commit 1c20057ed3
+8 -1
View File
@@ -386,6 +386,12 @@ declare module 'xterm' {
*/
readonly markers: ReadonlyArray<IMarker>;
/**
* (EXPERIMENTAL) Get the parser interface to register
* custom escape sequence handlers.
*/
readonly parser: IParser;
/**
* Natural language strings that can be localized.
*/
@@ -919,7 +925,8 @@ declare module 'xterm' {
}
/**
* Data type to register a CSI, DCS or ESC callback in the parser in the form:
* (EXPERIMENTAL) Data type to register a CSI, DCS or ESC callback in the parser
* in the form:
* ESC I..I F
* CSI Prefix P..P I..I F
* DCS Prefix P..P I..I F data_bytes ST