Adding a sleep before we restore buffers via tty write to improve reliability.

pull/62/head
Mark Eissler 2014-12-12 17:09:15 -08:00
parent 099fdfe87e
commit e5c929f207
1 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,8 @@ main() {
restore_shell_history
fi
if save_tmux_buffers_option_on; then
# ttys need to settle after getting cleared
sleep 2
restore_tmux_buffers
fi
restore_all_pane_processes