X-Git-Url: https://git.danieliu.xyz/?p=st.git;a=blobdiff_plain;f=st.c;h=8d4a9f2f48eb7b1c07773dfaf6611e1ed237d290;hp=ae93ade5e83c56f24af82e6e7fa771b22e8bd16a;hb=6cb6d61525931c88971cce323f63e40451a6d365;hpb=5a10aca702bf7bc9094cb4abaea6c59558740d29 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;