summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann2012-09-25 21:39:25 +0200
committerChristoph Lohmann2012-09-25 21:39:25 +0200
commitc3b0e2202b908834d3c08e3eaf70e0ac282cf319 (patch)
tree63b7593963ea5b159c6fcb00927bacbca8464fe9
parent980c5956ed4eb0c1e748f1e5c550fabdaaf4ef14 (diff)
downloadst-c3b0e2202b908834d3c08e3eaf70e0ac282cf319.tar.gz
st-c3b0e2202b908834d3c08e3eaf70e0ac282cf319.tar.xz
st-c3b0e2202b908834d3c08e3eaf70e0ac282cf319.zip
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;