From e15c4348fd87f174d253ebecd03b41a0376b9783 Mon Sep 17 00:00:00 2001
From: slange-dev <slange-dev@mail.ru>
Date: Thu, 9 Jan 2025 23:43:49 +0100
Subject: [PATCH] Fix default continue key

Since tmux v2.4 the Enter key default is "send -X copy-selection-and-cancel"
and q "send -X cancel" in copy-mode-vi
---
 scripts/helpers/tmux_echo_functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/helpers/tmux_echo_functions.sh b/scripts/helpers/tmux_echo_functions.sh
index 7a6ef0a..a9be5da 100644
--- a/scripts/helpers/tmux_echo_functions.sh
+++ b/scripts/helpers/tmux_echo_functions.sh
@@ -19,7 +19,7 @@ end_message() {
 	if _has_emacs_mode_keys; then
 		local continue_key="ESCAPE"
 	else
-		local continue_key="ENTER"
+		local continue_key="q"
 	fi
 	tmux_echo ""
 	tmux_echo "TMUX environment reloaded."