aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-09-25 21:39:25 +0200
committerChristoph Lohmann <20h@r-36.net>2012-09-25 21:39:25 +0200
commitd8cf33c2077b7c95f19e8bc1930caaa60e37f2f1 (patch)
tree63b7593963ea5b159c6fcb00927bacbca8464fe9
parentefe3937183a4ed6a4e02c91de9c8a03beed16eca (diff)
downloadst-d8cf33c2077b7c95f19e8bc1930caaa60e37f2f1.tar.gz
st-d8cf33c2077b7c95f19e8bc1930caaa60e37f2f1.tar.bz2
A reset should reset the line drawing too.
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index efe309f..009ccb4 100644
--- 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 \
- | ATTR_ITALIC | ATTR_BLINK);
+ | ATTR_ITALIC | ATTR_BLINK | ATTR_GFX);
term.c.attr.fg = DefaultFG;
term.c.attr.bg = DefaultBG;
break;