1
0
Fork 0
mirror of synced 2025-01-25 21:27:33 -05:00

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:
Gregory Pakosz 2025-01-19 18:15:24 +01:00
parent 2222646188
commit 129d6e7ff3

View file

@ -16,7 +16,7 @@
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
%endif
set -s escape-time 10 # faster command sequences