If the pane is still on all_window_panes but not actually connected to
authornicm <nicm@openbsd.org>
Thu, 22 Oct 2015 11:23:00 +0000 (11:23 +0000)
committernicm <nicm@openbsd.org>
Thu, 22 Oct 2015 11:23:00 +0000 (11:23 +0000)
commitd00346521516767761a2811f7ebd432e4117c353
tree003470829d3a8e901f060cbd13e3cdfc36785cdb
parentd02d6ca82402accb875ee1b91b9c981b53bbbb81
If the pane is still on all_window_panes but not actually connected to
window or session (which can happen if it is killed during a command
sequence and something else has a reference), fall back to the best
effort. Fixes "tmux killw\; detach" for Rudis Muiznieks.
usr.bin/tmux/cmd-find.c