Revert "Add bold off SGR"
authorQuentin Rameau <quinq@fifth.space>
Tue, 11 Jul 2017 21:16:25 +0000 (23:16 +0200)
committerQuentin Rameau <quinq@fifth.space>
Wed, 12 Jul 2017 11:29:31 +0000 (13:29 +0200)
This reverts commit 6cb6d61525931c88971cce323f63e40451a6d365.
This wasn't a useful thing after all.

st.c

diff --git a/st.c b/st.c
index 8d4a9f2..ae93ade 100644 (file)
--- a/st.c
+++ b/st.c
@@ -1402,9 +1402,6 @@ 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;