aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-04-26 08:34:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-04-26 08:34:56 +0000
commit9d0b048cf9e778d4484e426c93dcf770f88a5105 (patch)
tree98fb75caae2c86a4700776a45f1ca54b6c9f935c /terminal.c
parentmeson: bump version to 1.22.0 (diff)
parentchangelog: add missing bug ref (diff)
Merge branch 'master' into releases/1.22
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;