diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-04-21 09:32:48 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-06-10 09:21:09 +0100 |
commit | 5107e848977640398843e720e26d45a66954e7f9 (patch) | |
tree | 439794dba6fe0eda17835b2a8d76c5f67b4519d4 /input.c | |
parent | 736a276cc9bdb97bf35caa1995a54d328a839102 (diff) | |
download | rtmux-5107e848977640398843e720e26d45a66954e7f9.tar.gz rtmux-5107e848977640398843e720e26d45a66954e7f9.tar.bz2 rtmux-5107e848977640398843e720e26d45a66954e7f9.zip |
Add an "always" value to the extended-keys option to always forward these keys
to applications inside tmux.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1390,6 +1390,8 @@ input_csi_dispatch(struct input_ctx *ictx) case INPUT_CSI_MODSET: n = input_get(ictx, 0, 0, 0); m = input_get(ictx, 1, 0, 0); + if (options_get_number(global_options, "extended-keys") == 2) + break; if (n == 0 || (n == 4 && m == 0)) screen_write_mode_clear(sctx, MODE_KEXTENDED); else if (n == 4 && (m == 1 || m == 2)) |