JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
A reset should reset the line drawing too.
authorChristoph Lohmann <20h@r-36.net>
Tue, 25 Sep 2012 19:39:25 +0000 (21:39 +0200)
committerChristoph Lohmann <20h@r-36.net>
Tue, 25 Sep 2012 19:39:25 +0000 (21:39 +0200)
st.c

diff --git a/st.c b/st.c
index efe309f..009ccb4 100644 (file)
--- a/st.c
+++ b/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 \
                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;
                        term.c.attr.fg = DefaultFG;
                        term.c.attr.bg = DefaultBG;
                        break;