Add a terminal feature for enable/disable extended keys (supported by xterm and

mintty) and add an option to make tmux send it.
This commit is contained in:
Nicholas Marriott
2020-05-15 16:15:24 +01:00
parent e6b17e77db
commit 6d92b99dbc
6 changed files with 41 additions and 10 deletions

View File

@ -251,6 +251,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,