Przeglądaj źródła

A reset should reset the line drawing too.

Christoph Lohmann 12 lat temu
rodzic
commit
c3b0e2202b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      st.c

+ 1 - 1
st.c

@@ -1177,7 +1177,7 @@ tsetattr(int *attr, int l) {
 		switch(attr[i]) {
 		case 0:
 			term.c.attr.mode &= ~(ATTR_REVERSE | ATTR_UNDERLINE | ATTR_BOLD \
-					| ATTR_ITALIC | ATTR_BLINK);
+					| ATTR_ITALIC | ATTR_BLINK | ATTR_GFX);
 			term.c.attr.fg = DefaultFG;
 			term.c.attr.bg = DefaultBG;
 			break;