Change default escape-time to 5 milliseconds

Change default escape-time to 5 milliseconds to fix annoying bugs with long escape sequences under certain conditions. More details in: https://superuser.com/a/1809494
This commit is contained in:
traal 2024-04-16 18:45:51 +02:00 committed by GitHub
parent 0e80c95bed
commit 315b4cfe0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ main() {
# address vim mode switching delay (http://superuser.com/a/252717/65504) # address vim mode switching delay (http://superuser.com/a/252717/65504)
if server_option_value_not_changed "escape-time" "500"; then if server_option_value_not_changed "escape-time" "500"; then
tmux set-option -s escape-time 0 tmux set-option -s escape-time 5
fi fi
# increase scrollback buffer size # increase scrollback buffer size