aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-10 15:10:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-10 15:10:33 +0000
commit00df12f1a3cfee6c0f876f4e082ce3efbeba0bda (patch)
treebec37a31abf84e7894a048cf4ed7e89d70c56455 /vt.c
parentreadme: unicode-combining: mention when we render the decomposed version (diff)
unicode-combine: simplify - remove -Dunicode-precompose option
Since the pre-composing functionality is now part of fcft, it makes little sense to have a compile time option - there's no size benefit to be had. Furthermore, virtually all terminal emulators do pre-composing (alacritty being an exception), this really isn't that controversial.
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vt.c b/vt.c
index 9c639431..d80a7d86 100644
--- a/vt.c
+++ b/vt.c
@@ -595,7 +595,6 @@ action_utf8_print(struct terminal *term, uint8_t c)
term->grid->cursor.point.col = base_col;
term->grid->cursor.lcf = false;
-#if FOOT_UNICODE_PRECOMPOSE
if (composed == NULL) {
bool base_from_primary;
bool comb_from_primary;
@@ -627,7 +626,6 @@ action_utf8_print(struct terminal *term, uint8_t c)
return;
}
}
-#endif
size_t wanted_count = composed != NULL ? composed->count + 1 : 1;
if (wanted_count > ALEN(composed->combining)) {