mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
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.
This commit is contained in:
parent
77e256763c
commit
00df12f1a3
5 changed files with 7 additions and 44 deletions
2
vt.c
2
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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue