add showCursorImmediately option

This commit is contained in:
meganrogge
2026-01-13 10:36:35 -06:00
parent d28046ebed
commit a20ff565b0
6 changed files with 31 additions and 1 deletions
+7
View File
@@ -252,6 +252,13 @@ declare module '@xterm/headless' {
* The number of rows in the terminal.
*/
rows?: number;
/**
* Whether to show the cursor immediately when the terminal is created.
* When false (default), the cursor will not be visible until the terminal
* is focused for the first time.
*/
showCursorImmediately?: boolean;
}
/**
+7
View File
@@ -340,6 +340,13 @@ declare module '@xterm/xterm' {
* The number of rows in the terminal.
*/
rows?: number;
/**
* Whether to show the cursor immediately when the terminal is created.
* When false (default), the cursor will not be visible until the terminal
* is focused for the first time.
*/
showCursorImmediately?: boolean;
}
/**