diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-14 14:49:11 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-14 14:49:11 +0000 |
| commit | df2927e088ceb2119264d1a970c22a450f00005b (patch) | |
| tree | f902d442373f54b7f69aa9e0d6d62175427ade34 /terminal.h | |
| parent | term: rename COMB_CHARS_LO,HI -> CELL_COMB_CHARS_LO,HI (diff) | |
term: print: write special value CELL_MULT_COL_SPACER to extra cells
When printing a multi-column character, write CELL_MULT_COL_SPACER
instead of '0' to both padding cells (when character doesn't fit at
the end of the line), and to the cells following the actual character.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -50,6 +50,8 @@ static_assert(sizeof(struct attributes) == 8, "bad size"); #define CELL_COMB_CHARS_LO 0x40000000ul #define CELL_COMB_CHARS_HI 0x400ffffful +#define CELL_MULT_COL_SPACER 0x40100000ul + struct cell { wchar_t wc; struct attributes attrs; |
