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