diff options
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 */ |
