Implement blink rendering

Fixes #944
This commit is contained in:
Daniel Imms
2026-02-03 03:46:21 -08:00
parent 8f9045ed88
commit 8a00898533
9 changed files with 176 additions and 42 deletions
+7
View File
@@ -55,6 +55,13 @@ declare module '@xterm/headless' {
*/
cursorBlink?: boolean;
/**
* The interval in milliseconds for the blink attribute. This is the amount
* of time text remains visible or hidden before toggling. Set to 0 to
* disable blinking. The default is 0.
*/
blinkIntervalDuration?: number;
/**
* The style of the cursor.
*/
+7
View File
@@ -64,6 +64,13 @@ declare module '@xterm/xterm' {
*/
cursorBlink?: boolean;
/**
* The interval in milliseconds for the blink attribute. This is the amount
* of time text remains visible or hidden before toggling. Set to 0 to
* disable blinking. The default is 0.
*/
blinkIntervalDuration?: number;
/**
* The style of the cursor when the terminal is focused.
*/