main: Support overline, SGR 53/55

Similar to the underline, incl. the *-thickness and *-offset options.
This commit is contained in:
Andrew Savchenko 2026-01-02 13:37:26 +11:00
parent 42e04c5c87
commit 33106514db
No known key found for this signature in database
GPG key ID: 5023209D10DBA986
7 changed files with 70 additions and 2 deletions

3
csi.c
View file

@ -150,6 +150,9 @@ csi_sgr(struct terminal *term)
case 28: term->vt.attrs.conceal = false; break;
case 29: term->vt.attrs.strikethrough = false; break;
case 53: term->vt.attrs.overline = true; break;
case 55: term->vt.attrs.overline = false; break;
/* Regular foreground colors */
case 30:
case 31: