mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
csi: SGR 21 is “double underline”, not “disable bold” (according to ECMA-48)
This commit is contained in:
parent
6c8b034aff
commit
04703c07f0
2 changed files with 4 additions and 1 deletions
|
|
@ -110,6 +110,9 @@ means foot can be PGO:d in e.g. sandboxed build scripts. See
|
|||
* The sub-parameter versions of the SGR RGB color escapes (e.g
|
||||
`\E[38:2...m`) can now be used _without_ the color space ID
|
||||
parameter.
|
||||
* SGR 21 no longer disables **bold**. According to ECMA-4, SGR 21 is
|
||||
_”double underline_”. Foot does not (yet) implement that, but that’s
|
||||
no reason to implement a non-standard behavior.
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
|
|
|||
2
csi.c
2
csi.c
|
|
@ -94,7 +94,7 @@ csi_sgr(struct terminal *term)
|
|||
case 8: term->vt.attrs.conceal = true; break;
|
||||
case 9: term->vt.attrs.strikethrough = true; break;
|
||||
|
||||
case 21: term->vt.attrs.bold = false; break;
|
||||
case 21: break; /* double-underline, not implemented */
|
||||
case 22: term->vt.attrs.bold = term->vt.attrs.dim = false; break;
|
||||
case 23: term->vt.attrs.italic = false; break;
|
||||
case 24: term->vt.attrs.underline = false; break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue