mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:33:27 +00:00
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.
This commit is contained in:
@ -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" },
|
||||
|
Reference in New Issue
Block a user