diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-05-01 10:06:09 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-05-01 10:06:09 +0000 |
| commit | 99172e7f8e0a7caa1356a9beebf7d22288e5f7a1 (patch) | |
| tree | 92af8f394e1124952cf69652bdb340376765f730 /terminal.h | |
| parent | term: don't enable ptmx FDM callback until Wayland window has been configured (diff) | |
| parent | unicode-combining: completely remove unicode combining characters when feature is disabled (diff) | |
Merge branch 'unicode-combining-for-real'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -77,10 +77,21 @@ struct damage { int lines; }; +#if FOOT_UNICODE_COMBINING +struct combining_chars { + uint8_t count; + wchar_t chars[2]; /* TODO: how many do we need? */ +}; +#endif + struct row { struct cell *cells; bool dirty; bool linebreak; + +#if FOOT_UNICODE_COMBINING + struct combining_chars *comb_chars; +#endif }; struct sixel { @@ -368,7 +379,7 @@ struct terminal { struct { struct coord actual; /* Absolute */ struct coord in_view; /* Offset by view */ - struct cell *cell; /* For easy access to content */ + struct row *row; /* Actual row TODO: remove */ } last_cursor; struct buffer *last_buf; /* Buffer we rendered to last time */ |
