enable extended keys only when detecting xterm, mintty or iTerm2, fixes #776
see https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys
This commit is contained in:
parent
2222646188
commit
129d6e7ff3
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
set -g default-terminal "screen-256color"
|
set -g default-terminal "screen-256color"
|
||||||
|
|
||||||
%if #{>=:#{version},3.2}
|
%if #{||:#{m/ri:mintty|iTerm,#{TERM_PROGRAM}},#{!=:#{XTERM_VERSION},}}
|
||||||
set -g extended-keys on # needed by Control + Shift bindings
|
set -g extended-keys on # needed by Control + Shift bindings
|
||||||
%endif
|
%endif
|
||||||
set -s escape-time 10 # faster command sequences
|
set -s escape-time 10 # faster command sequences
|
||||||
|
|
Loading…
Reference in a new issue