Enable extended-keys support

This commit is contained in:
2026-08-27 16:11:08 +01:00
parent 3738a90f3f
commit c729ef0778

View File

@@ -38,6 +38,14 @@ set -as terminal-features ',xterm*:clipboard'
# Focus events enabled for terminals that support them # Focus events enabled for terminals that support them
set -g focus-events on set -g focus-events on
# Forward modifier information so apps, csi-u format requires tmux 3.5+.
if -b '~/.config/tmux/check-version.sh ">= 3.2"' {
set -g extended-keys on
}
if -b '~/.config/tmux/check-version.sh ">= 3.5"' {
set -g extended-keys-format csi-u
}
# Aggressively resize the chosen window to smallest/largest session # Aggressively resize the chosen window to smallest/largest session
setw -g aggressive-resize on setw -g aggressive-resize on