mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-08 01:04:06 +01:00
There is no real standard for modifier plus function keys. Previously, tmux
output some from rxvt but in other ways did the same as xterm or other terminals, but this is a bit inconsistent. xterm's method is fairly sensible and we already support it (xterm-keys), so enable it by default instead.
This commit is contained in:
parent
d9961f40bf
commit
15b9946a40
1
tmux.1
1
tmux.1
@ -1788,6 +1788,7 @@ will generate
|
||||
.Xr xterm 1 -style
|
||||
function key sequences; these have a number included to indicate modifiers such
|
||||
as Shift, Alt or Ctrl.
|
||||
The default is on.
|
||||
.El
|
||||
.It Xo Ic show-options
|
||||
.Op Fl g
|
||||
|
2
tmux.c
2
tmux.c
@ -390,7 +390,7 @@ main(int argc, char **argv)
|
||||
options_set_number(wo, "window-status-current-bg", 8);
|
||||
options_set_number(wo, "window-status-current-fg", 8);
|
||||
options_set_number(wo, "window-status-fg", 8);
|
||||
options_set_number(wo, "xterm-keys", 0);
|
||||
options_set_number(wo, "xterm-keys", 1);
|
||||
options_set_number(wo, "remain-on-exit", 0);
|
||||
options_set_number(wo, "synchronize-panes", 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user