Add IAnsiColorChangeEvent type

This commit is contained in:
Slawek Zachcial
2020-11-07 21:36:05 +01:00
parent 712f0ae2a7
commit b898e016f3
4 changed files with 40 additions and 24 deletions
+10
View File
@@ -328,6 +328,16 @@ export interface IWindowOptions {
setWinLines?: boolean;
}
/**
* Event fired for OSC 4 command - to change ANSI color based on its index.
*/
export interface IAnsiColorChangeEvent {
colorIndex: number;
red: number;
green: number;
blue: number;
}
/**
* Calls the parser and handles actions generated by the parser.
*/