A reset should reset the line drawing too.

This commit is contained in:
Christoph Lohmann 2012-09-25 21:39:25 +02:00
parent 980c5956ed
commit c3b0e2202b

2
st.c
View File

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