aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 7152bc23..62c7e707 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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 */