Add support for SGR 53, 55 overline

Specced in ECMA-48
This commit is contained in:
Daniel Imms
2023-05-20 09:56:56 -07:00
parent 913cb25863
commit 2bfd95fe54
9 changed files with 116 additions and 4 deletions
+6
View File
@@ -2551,6 +2551,12 @@ export class InputHandler extends Disposable implements IInputHandler {
} else if (p === 38 || p === 48 || p === 58) {
// fg color 256 and RGB
i += this._extractColor(params, i, attr);
} else if (p === 53) {
// overline
attr.bg |= BgFlags.OVERLINE;
} else if (p === 55) {
// not overline
attr.bg &= ~BgFlags.OVERLINE;
} else if (p === 59) {
attr.extended = attr.extended.clone();
attr.extended.underlineColor = -1;