Add bold off SGR

This commit is contained in:
Quentin Rameau 2017-05-28 09:56:57 +02:00
parent 5a10aca702
commit 6cb6d61525

3
st.c
View file

@ -1402,6 +1402,9 @@ tsetattr(int *attr, int l)
case 9: case 9:
term.c.attr.mode |= ATTR_STRUCK; term.c.attr.mode |= ATTR_STRUCK;
break; break;
case 21:
term.c.attr.mode &= ~ATTR_BOLD;
break;
case 22: case 22:
term.c.attr.mode &= ~(ATTR_BOLD | ATTR_FAINT); term.c.attr.mode &= ~(ATTR_BOLD | ATTR_FAINT);
break; break;