[fzf-tmux] Fix race condition when using -l/-u on zoomed panes

Using a dummy command that works as the barrier.
This commit is contained in:
Junegunn Choi 2017-02-08 14:55:17 +09:00
parent a847fe8754
commit 1ba7acf4bd
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ cleanup() {
# Remove temp window if we were zoomed
if [[ -n "$zoomed" ]]; then
tmux display-message -p "#{window_id}" > /dev/null
tmux swap-pane -t $original_window \; \
select-window -t $original_window \; \
kill-window -t $tmp_window \; \