Make send-keys more reliable

Thanks @mk12 for the PR
https://github.com/tmux-plugins/tmux-resurrect/pull/180
This commit is contained in:
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

View File

@ -35,7 +35,7 @@ restore_pane_process() {
# just invoke the raw command # just invoke the raw command
command="$pane_full_command" command="$pane_full_command"
fi 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 fi
} }