Fix a crash: if remain-on-exit is set and the pane has exited, the
authornicm <nicm@openbsd.org>
Thu, 22 Jul 2010 21:10:51 +0000 (21:10 +0000)
committernicm <nicm@openbsd.org>
Thu, 22 Jul 2010 21:10:51 +0000 (21:10 +0000)
commit054d2303d7f041150d49d6a6cb9acc21615682d0
tree088e63001f5f623ceffc1c0205701d4b6e7b13cf
parentaa61a0bc07da61e0481789c71dd03290ea337872
Fix a crash: if remain-on-exit is set and the pane has exited, the
buffers may not be valid, so do not try to disable/enable them when
switching to copy mode.
usr.bin/tmux/window-copy.c