From 1015b124d5ccb4c9d32f0c5aae820f7a1ac98c5c Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 30 Dec 2016 13:49:34 +0000 Subject: [PATCH] Change the xterm-keys option to default to on, so that tmux will generate xterm(1) escape sequences for function keys with modifiers. With the option off most of these keys are ignored by default, except for ctrl + arrows which use a variant that nothing else seems to use and I don't remember why we chose. The xterm escape sequences are now the most common. Prompted by a question from mpi@. --- options-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options-table.c b/options-table.c index 5268d8b0..b63abaec 100644 --- a/options-table.c +++ b/options-table.c @@ -896,7 +896,7 @@ const struct options_table_entry options_table[] = { { .name = "xterm-keys", .type = OPTIONS_TABLE_FLAG, .scope = OPTIONS_TABLE_WINDOW, - .default_num = 0 + .default_num = 1 }, { .name = NULL }