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

Using a dummy command that works as the barrier.
pull/838/head
Junegunn Choi 7 years ago
parent a847fe8754
commit 1ba7acf4bd
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -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 \; \

Loading…
Cancel
Save