Make send-keys more reliable

Thanks @mk12 for the PR
https://github.com/tmux-plugins/tmux-resurrect/pull/180
pull/510/head
Bruno Sutic 2017-05-30 05:41:28 +02:00
parent 40c776c747
commit 1a3a094265
No known key found for this signature in database
GPG Key ID: CAFA7B1B2914ED81
1 changed files with 1 additions and 1 deletions

View File

@ -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
}