aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2019-07-09 14:03:12 +0000
committernicm <nicm>2019-07-09 14:03:12 +0000
commitfc2016dbb665f01e795a89632a1bb74294bfc4e1 (patch)
tree452c47afaec3fde07753bc65df05c35da9a23aae /tmux.1
parentad11d49d640c911b42c5292b5f5b7dbdffb4908b (diff)
downloadrtmux-fc2016dbb665f01e795a89632a1bb74294bfc4e1.tar.gz
rtmux-fc2016dbb665f01e795a89632a1bb74294bfc4e1.tar.bz2
rtmux-fc2016dbb665f01e795a89632a1bb74294bfc4e1.zip
Add a -H flag to send-keys to send literal keys given as hex numbers
(needed for control clients to send mouse sequences). Also add some format flags for UTF-8 and SGR mouse mode. Requested by Bradley Smith in GitHub issues 1832 and 1833.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.119
1 files changed, 14 insertions, 5 deletions
diff --git a/tmux.1 b/tmux.1
index 02ef1f2c..810cb211 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2622,7 +2622,7 @@ With
only
.Ar key-table .
.It Xo Ic send-keys
-.Op Fl lMRX
+.Op Fl HlMRX
.Op Fl N Ar repeat-count
.Op Fl t Ar target-pane
.Ar key Ar ...
@@ -2637,10 +2637,16 @@ or
.Ql NPage )
to send; if the string is not recognised as a key, it is sent as a series of
characters.
+All arguments are sent sequentially from first to last.
+.Pp
The
.Fl l
-flag disables key name lookup and sends the keys literally.
-All arguments are sent sequentially from first to last.
+flag disables key name lookup and processes the keys as literal UTF-8
+characters.
+The
+.Fl H
+flag expects each key to be a hexadecimal number for an ASCII character.
+.Pp
The
.Fl R
flag causes the terminal state to be reset.
@@ -4180,11 +4186,14 @@ The following variables are available, where appropriate:
.It Li "mouse_all_flag" Ta "" Ta "Pane mouse all flag"
.It Li "mouse_any_flag" Ta "" Ta "Pane mouse any flag"
.It Li "mouse_button_flag" Ta "" Ta "Pane mouse button flag"
+.It Li "mouse_line" Ta "" Ta "Line under mouse, if any"
+.It Li "mouse_sgr_flag" Ta "" Ta "Pane mouse SGR flag"
.It Li "mouse_standard_flag" Ta "" Ta "Pane mouse standard flag"
+.It Li "mouse_utf8_flag" Ta "" Ta "Pane mouse UTF-8 flag"
+.It Li "mouse_word" Ta "" Ta "Word under mouse, if any"
.It Li "mouse_x" Ta "" Ta "Mouse X position, if any"
.It Li "mouse_y" Ta "" Ta "Mouse Y position, if any"
-.It Li "mouse_word" Ta "" Ta "Word under mouse, if any"
-.It Li "mouse_line" Ta "" Ta "Line under mouse, if any"
+.It Li "origin_flag" Ta "" Ta "Pane origin flag"
.It Li "pane_active" Ta "" Ta "1 if active pane"
.It Li "pane_at_bottom" Ta "" Ta "1 if pane is at the bottom of window"
.It Li "pane_at_left" Ta "" Ta "1 if pane is at the left of window"