mirror of https://github.com/tmux/tmux.git
Whoops, getting the comparison the right way round is usually recommended.
parent
8b7be5861e
commit
c488e5e40d
2
server.c
2
server.c
|
@ -1124,7 +1124,7 @@ server_check_window(struct window *w)
|
|||
* the window to be destroyed (or it'll close when the last
|
||||
* pane dies).
|
||||
*/
|
||||
if (wp->fd == -1 && options_get_number(oo, "remain-on-exit")) {
|
||||
if (wp->fd == -1 && !options_get_number(oo, "remain-on-exit")) {
|
||||
layout_close_pane(wp);
|
||||
window_remove_pane(w, wp);
|
||||
server_redraw_window(w);
|
||||
|
|
Loading…
Reference in New Issue