diff options
author | nicm <nicm> | 2021-02-05 12:29:18 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-02-05 12:29:18 +0000 |
commit | 3dddc11603b1bd66b5586b47795716e87921a096 (patch) | |
tree | 52a11e2f6c59655ccdb575ffd5ed4ab72d9b97fd /tty-term.c | |
parent | be471c328ea0ae04026e4ff32fda7b7f11c74255 (diff) |
Send Unicode directional isolate characters around horizontal pane
borders if the terminal support UTF-8 and an extension terminfo(5)
capability "Bidi" is present. On terminals with BiDi support (ie, VTE)
this seems to be enough to display right-to-left text acceptably enough
to be usable (with some caveats about the mouse position). Requested by
and with help from Mahmoud Elagdar in GitHub issue 2425.
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ static const struct tty_term_code_entry tty_term_codes[] = { [TTYC_AX] = { TTYCODE_FLAG, "AX" }, [TTYC_BCE] = { TTYCODE_FLAG, "bce" }, [TTYC_BEL] = { TTYCODE_STRING, "bel" }, + [TTYC_BIDI] = { TTYCODE_STRING, "Bidi" }, [TTYC_BLINK] = { TTYCODE_STRING, "blink" }, [TTYC_BOLD] = { TTYCODE_STRING, "bold" }, [TTYC_CIVIS] = { TTYCODE_STRING, "civis" }, |