aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-04-24 16:20:18 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-04-24 16:20:18 +0000
commit1b15cc5f3d633809114d9d569b34abf934426c69 (patch)
tree60a950fe4205e7df4cfd7771e15e3f04c6d0c993 /terminal.c
parentterm: ignore LTR+RTL markers (U+200E + U+200F) (diff)
Revert "term: ignore LTR+RTL markers (U+200E + U+200F)"
This reverts commit 70b324b24c86473a99528feb6f1f91ca70e11a02.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/terminal.c b/terminal.c
index 59c39760..ae1adb1a 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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--;