summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2021-02-05 12:29:18 +0000
committernicm <nicm@openbsd.org>2021-02-05 12:29:18 +0000
commit9a569e26b820026b63a93d354730bfbb40076eed (patch)
tree77dbd427dd4fc8431001ac549479273606eeccde /usr.bin/tmux/tmux.h
parentRemove the not so periodic stats from rpki-client. The output is not very (diff)
downloadwireguard-openbsd-9a569e26b820026b63a93d354730bfbb40076eed.tar.xz
wireguard-openbsd-9a569e26b820026b63a93d354730bfbb40076eed.zip
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 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 77d20a0106f..3ad7d9d4f80 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.1087 2021/01/29 09:48:43 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.1088 2021/02/05 12:29:19 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -261,6 +261,7 @@ enum tty_code_code {
TTYC_AX,
TTYC_BCE,
TTYC_BEL,
+ TTYC_BIDI,
TTYC_BLINK,
TTYC_BOLD,
TTYC_CIVIS,