diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-04-21 09:32:48 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-04-21 09:32:48 +0100 |
commit | 8363c6af2e71cd99e6574e82f80bdb66973f0bd3 (patch) | |
tree | 51677157d6f6e5abca67242773d7c5ced6a8c761 /screen.c | |
parent | 6c2bf0e22119804022c8038563b9865999f5a026 (diff) | |
download | rtmux-8363c6af2e71cd99e6574e82f80bdb66973f0bd3.tar.gz rtmux-8363c6af2e71cd99e6574e82f80bdb66973f0bd3.tar.bz2 rtmux-8363c6af2e71cd99e6574e82f80bdb66973f0bd3.zip |
Add an "always" value to the extended-keys option to always forward these keys
to applications inside tmux.
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -100,7 +100,9 @@ screen_reinit(struct screen *s) s->rupper = 0; s->rlower = screen_size_y(s) - 1; - s->mode = MODE_CURSOR | MODE_WRAP; + s->mode = MODE_CURSOR|MODE_WRAP; + if (options_get_number(global_options, "extended-keys") == 2) + s->mode |= MODE_KEXTENDED; if (s->saved_grid != NULL) screen_alternate_off(s, NULL, 0); |