Revert "term: append zero-width grapheme breaking characters to previous cell"

This reverts commit 76503fb86a.
This commit is contained in:
Daniel Eklöf 2025-04-24 18:22:37 +02:00
parent 1b15cc5f3d
commit 1fec0cf5ea
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 3 additions and 3 deletions

View file

@ -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;