Kill empty window after moving pane and updating current window, so that
authornicm <nicm@openbsd.org>
Sat, 27 Aug 2016 23:35:00 +0000 (23:35 +0000)
committernicm <nicm@openbsd.org>
Sat, 27 Aug 2016 23:35:00 +0000 (23:35 +0000)
commitb0f51586047e41f40b27cf6354fe33352dfe9a39
tree0a0cf1697f959c050cdf1ea952954a9afb556a13
parentaa9b0d664d67361ee6f2e89ea4a17251874e810c
Kill empty window after moving pane and updating current window, so that
index is still valid before renumber-windows happens. Fixes issue
reported by Eric Pruitt.
usr.bin/tmux/cmd-join-pane.c