aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-01 10:05:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-01 10:05:38 +0000
commit3474624c2c17058f0fd9f3f1821971e7213d285b (patch)
tree92af8f394e1124952cf69652bdb340376765f730 /terminal.h
parentterm: combining characters: reduce max number of combining characters (diff)
unicode-combining: completely remove unicode combining characters when feature is disabled
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index b1f7ac8e..62c7e707 100644
--- a/terminal.h
+++ b/terminal.h
@@ -77,16 +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 {