From 1a3a094265a5a1173a703005990681236cbdbc4a Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Tue, 30 May 2017 05:41:28 +0200 Subject: [PATCH] Make send-keys more reliable Thanks @mk12 for the PR https://github.com/tmux-plugins/tmux-resurrect/pull/180 --- scripts/process_restore_helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/process_restore_helpers.sh b/scripts/process_restore_helpers.sh index cc796d2..0b88177 100644 --- a/scripts/process_restore_helpers.sh +++ b/scripts/process_restore_helpers.sh @@ -35,7 +35,7 @@ restore_pane_process() { # just invoke the raw command command="$pane_full_command" fi - tmux send-keys -t "${session_name}:${window_number}" "$command" "C-m" + tmux send-keys -t "${session_name}:${window_number}.${pane_index}" "$command" "C-m" fi }