summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/term-terminfo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c
index 75f8f696..4e9781fe 100644
--- a/src/fe-text/term-terminfo.c
+++ b/src/fe-text/term-terminfo.c
@@ -385,9 +385,10 @@ void term_addch(TERM_WINDOW *window, int chr)
if (term_type != TERM_TYPE_UTF8 ||
(chr & 0x80) == 0 || (chr & 0x40) == 0) {
term_printed_text(1);
- if (vcy != term_height || vcx != 0)
- putc(chr, window->term->out);
}
+
+ if (vcy != term_height || vcx != 0)
+ putc(chr, window->term->out);
}
static void term_addch_utf8(TERM_WINDOW *window, unichar chr)