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

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