aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-01 10:05:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-01 10:05:38 +0000
commit3474624c2c17058f0fd9f3f1821971e7213d285b (patch)
tree92af8f394e1124952cf69652bdb340376765f730 /terminal.c
parentterm: combining characters: reduce max number of combining characters (diff)
unicode-combining: completely remove unicode combining characters when feature is disabled
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index bbbf2127..9c3c24e8 100644
--- a/terminal.c
+++ b/terminal.c
@@ -2295,7 +2295,10 @@ term_print(struct terminal *term, wchar_t wc, int width)
cell->wc = term->vt.last_printed = wc;
cell->attrs = term->vt.attrs;
+#if FOOT_UNICODE_COMBINING
row->comb_chars[term->grid->cursor.point.col].count = 0;
+#endif
+
row->dirty = true;
cell->attrs.clean = 0;