diff options
author | nicm <nicm> | 2019-07-09 14:03:12 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-07-09 14:03:12 +0000 |
commit | fc2016dbb665f01e795a89632a1bb74294bfc4e1 (patch) | |
tree | 452c47afaec3fde07753bc65df05c35da9a23aae /tmux.h | |
parent | ad11d49d640c911b42c5292b5f5b7dbdffb4908b (diff) | |
download | rtmux-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.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -111,9 +111,10 @@ struct winlink; #define KEYC_CTRL 0x400000000000ULL #define KEYC_SHIFT 0x800000000000ULL #define KEYC_XTERM 0x1000000000000ULL +#define KEYC_LITERAL 0x2000000000000ULL /* Mask to obtain key w/o modifiers. */ -#define KEYC_MASK_MOD (KEYC_ESCAPE|KEYC_CTRL|KEYC_SHIFT|KEYC_XTERM) +#define KEYC_MASK_MOD (KEYC_ESCAPE|KEYC_CTRL|KEYC_SHIFT|KEYC_XTERM|KEYC_LITERAL) #define KEYC_MASK_KEY (~KEYC_MASK_MOD) /* Is this a mouse key? */ |