diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-05-01 09:49:11 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-05-01 09:49:11 +0000 |
| commit | b2c4115f3e5b36ff04b2f7ff1af4d7bce787a16f (patch) | |
| tree | 1c44914488682c35599fa393d59a776edf7a87d4 /terminal.h | |
| parent | util.h: new header file defining commonly used macros (diff) | |
grid: add per-cell combining characters
The data is *not* added to the cell struct, since that one is too
performance critical.
Instead, the data is added as a separate array in the row struct.
This allows our performance critical code paths that e.g. clear cells
to perform as before.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -77,10 +77,16 @@ struct damage { int lines; }; +struct combining_chars { + uint8_t count; + wchar_t chars[5]; /* TODO: do we need this many? */ +}; + struct row { struct cell *cells; bool dirty; bool linebreak; + struct combining_chars *comb_chars; }; struct sixel { |
