aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-04-24 16:22:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-04-24 16:22:37 +0000
commit1fec0cf5ea0c3fe3be92a49eaee5eef5aafa9c49 (patch)
treed0e0fb139d05e6c616910a907341c3a19f8c3151 /terminal.c
parentRevert "term: ignore LTR+RTL markers (U+200E + U+200F)" (diff)
Revert "term: append zero-width grapheme breaking characters to previous cell"
This reverts commit 76503fb86a8b8a6b5c3ce1be87c15a55af38508d.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index ae1adb1a..f2d03e77 100644
--- a/terminal.c
+++ b/terminal.c
@@ -4188,7 +4188,7 @@ term_process_and_print_non_ascii(struct terminal *term, char32_t wc)
if (grapheme_clustering) {
/* Check if we're on a grapheme cluster break */
if (utf8proc_grapheme_break_stateful(
- last, wc, &term->vt.grapheme_state) && width > 0)
+ last, wc, &term->vt.grapheme_state))
{
term_reset_grapheme_state(term);
goto out;