csi: implement \E[21m (disable bold)

This commit is contained in:
Daniel Eklöf 2019-07-16 12:53:58 +02:00
parent 0d1b4449b9
commit 2a1c4d29e9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

1
csi.c
View file

@ -133,6 +133,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 22: term->vt.attrs.bold = term->vt.dim = false; break;
case 23: term->vt.attrs.italic = false; break;
case 24: term->vt.attrs.underline = false; break;