Explorar o código

Add bold off SGR

Quentin Rameau %!s(int64=7) %!d(string=hai) anos
pai
achega
6cb6d61525
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      st.c

+ 3 - 0
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;