unicode-combining: completely remove unicode combining characters when feature is disabled

This commit is contained in:
Daniel Eklöf 2020-05-01 12:05:38 +02:00
parent 66e5abdda3
commit 3474624c2c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 26 additions and 2 deletions

View file

@ -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;