aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Rameau2017-05-28 09:56:57 +0200
committerQuentin Rameau2017-06-03 22:28:35 +0200
commite39e19c5e5b314c50d3884644127dd6a707b0b49 (patch)
tree5e62cb3ff0b8c6e00edd7cf17b0463d2bba3938f
parente1e7e0a7b6a9b6083c9386307011bd7fc134ed82 (diff)
downloadaur-e39e19c5e5b314c50d3884644127dd6a707b0b49.tar.gz
Add bold off SGR
-rw-r--r--st.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.c b/st.c
index ae93ade5e83c..8d4a9f2f48eb 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;