Add vtExtensions.kittySgrBoldFaintControl

This commit is contained in:
Daniel Imms
2026-01-10 04:31:36 -08:00
parent 686c67a14b
commit 50b0f3d7ee
4 changed files with 21 additions and 2 deletions
+9
View File
@@ -331,6 +331,15 @@ declare module '@xterm/headless' {
* [0]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/
*/
kittyKeyboard?: boolean;
/**
* Whether [SGR 221 (not bold) and SGR 222 (not faint) are enabled][0].
* These are kitty extensions that allow resetting bold and faint
* independently. The default is true.
*
* [0]: https://sw.kovidgoyal.net/kitty/misc-protocol/
*/
kittySgrBoldFaintControl?: boolean;
}
/**
+9
View File
@@ -448,6 +448,15 @@ declare module '@xterm/xterm' {
* [0]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/
*/
kittyKeyboard?: boolean;
/**
* Whether [SGR 221 (not bold) and SGR 222 (not faint) are enabled][0].
* These are kitty extensions that allow resetting bold and faint
* independently. The default is true.
*
* [0]: https://sw.kovidgoyal.net/kitty/misc-protocol/
*/
kittySgrBoldFaintControl?: boolean;
}
/**