aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2017-05-28 09:56:57 +0200
committerQuentin Rameau <quinq@fifth.space>2017-06-03 22:28:35 +0200
commit6cb6d61525931c88971cce323f63e40451a6d365 (patch)
tree4e41fd6f83ee6d21b0805659b13e22ef749c100b /st.c
parent5a10aca702bf7bc9094cb4abaea6c59558740d29 (diff)
downloadst-6cb6d61525931c88971cce323f63e40451a6d365.tar.gz
Add bold off SGR
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.c b/st.c
index ae93ade..8d4a9f2 100644
--- a/st.c
+++ b/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;
remember that computers suck.