diff options
author | Quentin Rameau <quinq@fifth.space> | 2017-05-28 09:56:57 +0200 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2017-06-03 22:28:35 +0200 |
commit | 6cb6d61525931c88971cce323f63e40451a6d365 (patch) | |
tree | 4e41fd6f83ee6d21b0805659b13e22ef749c100b /st.c | |
parent | 5a10aca702bf7bc9094cb4abaea6c59558740d29 (diff) | |
download | st-6cb6d61525931c88971cce323f63e40451a6d365.tar.gz st-6cb6d61525931c88971cce323f63e40451a6d365.tar.bz2 st-6cb6d61525931c88971cce323f63e40451a6d365.zip |
Add bold off SGR
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |