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
+2 -2
View File
@@ -2672,10 +2672,10 @@ export class InputHandler extends Disposable implements IInputHandler {
} else if (p === 55) {
// not overline
attr.bg &= ~BgFlags.OVERLINE;
} else if (p === 221) {
} else if (p === 221 && (this._optionsService.rawOptions.vtExtensions?.kittySgrBoldFaintControl ?? true)) {
// not bold (kitty extension)
attr.fg &= ~FgFlags.BOLD;
} else if (p === 222) {
} else if (p === 222 && (this._optionsService.rawOptions.vtExtensions?.kittySgrBoldFaintControl ?? true)) {
// not faint (kitty extension)
attr.bg &= ~BgFlags.DIM;
} else if (p === 59) {