Revert "term: ignore LTR+RTL markers (U+200E + U+200F)"

This reverts commit 70b324b24c.
This commit is contained in:
Daniel Eklöf 2025-04-24 18:20:18 +02:00
parent 70b324b24c
commit 1b15cc5f3d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 0 additions and 17 deletions

View file

@ -4156,14 +4156,6 @@ term_process_and_print_non_ascii(struct terminal *term, char32_t wc)
(grapheme_clustering ||
(!grapheme_clustering && width == 0 && wc >= 0x300)))
{
if (unlikely(wc == 0x200e || wc == 0x200f)) {
/*
* Ignore left-to-right and right-to-left markers
* see https://codeberg.org/dnkl/foot/issues/2049
*/
return;
}
int col = term->grid->cursor.point.col;
if (!term->grid->cursor.lcf)
col--;