[hackers] [st] Add bold off SGR || Quentin Rameau
commit 6cb6d61525931c88971cce323f63e40451a6d365
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sun May 28 09:56:57 2017 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Sat Jun 3 22:28:35 2017 +0200
Add bold off SGR
diff --git a/st.c b/st.c
index ae93ade..8d4a9f2 100644
--- a/st.c
+++ b/st.c
_AT_@ -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;
Received on Sat Jun 03 2017 - 22:28:59 CEST
This archive was generated by hypermail 2.3.0
: Sat Jun 03 2017 - 22:36:18 CEST