diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-05-01 09:50:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-05-01 09:50:38 +0000 |
| commit | 67614df9f90021a091128a37caac16cf130a03a1 (patch) | |
| tree | 5fcfd50a33cb15df9fdc0909b0c1f234e73c421e | |
| parent | grid: add per-cell combining characters (diff) | |
term: print: reset combining characters for this cell
This is the *only* place combining characters are reset. In
particular, we do *not* reset them in a normal cell erase.
This is a performance design decision - clearing the combining
characters in erase is way too slow.
This way, we clear it only when we *have* to. Anything looking at the
combining characters must first ensure the base character is not 0.
| -rw-r--r-- | terminal.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2295,6 +2295,7 @@ term_print(struct terminal *term, wchar_t wc, int width) cell->wc = term->vt.last_printed = wc; cell->attrs = term->vt.attrs; + row->comb_chars[term->grid->cursor.point.col].count = 0; row->dirty = true; cell->attrs.clean = 0; |
