diff options
author | nicm <nicm> | 2020-05-16 16:44:54 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 16:44:54 +0000 |
commit | 0ab82d95314e7a26a48452c77ad710f3aff97dd7 (patch) | |
tree | 8a7439d2a3007bb7de92f6c8c801bb5303754fae /options-table.c | |
parent | 292b335ca5b594729cf9ff79f0f4273c725537a4 (diff) | |
download | rtmux-0ab82d95314e7a26a48452c77ad710f3aff97dd7.tar.gz rtmux-0ab82d95314e7a26a48452c77ad710f3aff97dd7.tar.bz2 rtmux-0ab82d95314e7a26a48452c77ad710f3aff97dd7.zip |
Add a terminal feature for enable/disable extended keys (supported by
xterm and mintty) and add an option to make tmux send it. Only forward
extended keys if the application has requested them, even though we use
the CSI u sequence and xterm uses CSI 27 ~ - this is what mintty does as
well.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/options-table.c b/options-table.c index 4ac0d0c3..87670b12 100644 --- a/options-table.c +++ b/options-table.c @@ -252,6 +252,14 @@ const struct options_table_entry options_table[] = { "clients." }, + { .name = "extended-keys", + .type = OPTIONS_TABLE_FLAG, + .scope = OPTIONS_TABLE_SERVER, + .default_num = 0, + .text = "Whether to request extended key sequences from terminals " + "that support it." + }, + { .name = "focus-events", .type = OPTIONS_TABLE_FLAG, .scope = OPTIONS_TABLE_SERVER, @@ -1053,11 +1061,12 @@ const struct options_table_entry options_table[] = { "bottom." }, - { .name = "xterm-keys", + { .name = "xterm-keys", /* no longer used */ .type = OPTIONS_TABLE_FLAG, .scope = OPTIONS_TABLE_WINDOW, .default_num = 1, - .text = "Whether xterm-style function key sequences should be sent." + .text = "Whether xterm-style function key sequences should be sent. " + "This option is no longer used." }, /* Hook options. */ |