mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
Add bold off SGR
This commit is contained in:
parent
5a10aca702
commit
6cb6d61525
1 changed files with 3 additions and 0 deletions
3
st.c
3
st.c
|
@ -1402,6 +1402,9 @@ tsetattr(int *attr, int l)
|
|||
case 9:
|
||||
term.c.attr.mode |= ATTR_STRUCK;
|
||||
break;
|
||||
case 21:
|
||||
term.c.attr.mode &= ~ATTR_BOLD;
|
||||
break;
|
||||
case 22:
|
||||
term.c.attr.mode &= ~(ATTR_BOLD | ATTR_FAINT);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue