Throw when setting an invalid cursorStyle

Fixes #3477
This commit is contained in:
Daniel Imms
2022-07-10 11:43:45 -07:00
parent 55beec8b96
commit 71195b5370
4 changed files with 18 additions and 2 deletions
+2
View File
@@ -35,6 +35,8 @@ export interface ITerminalOptions extends IPublicTerminalOptions {
termName?: string;
}
export type CursorStyle = 'block' | 'underline' | 'bar';
export type XtermListener = (...args: any[]) => void;
/**