0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.0.0858: can exit while a terminal is still running a job

Problem:    Can exit while a terminal is still running a job.
Solution:   Consider a buffer with a running job like a changed file.
This commit is contained in:
Bram Moolenaar
2017-08-03 22:44:55 +02:00
parent 620d064b0b
commit eb44a68b42
11 changed files with 55 additions and 50 deletions

View File

@@ -3379,7 +3379,8 @@ close_others(
#endif
continue;
}
win_close(wp, !P_HID(wp->w_buffer) && !bufIsChanged(wp->w_buffer));
win_close(wp, !buf_hide(wp->w_buffer)
&& !bufIsChanged(wp->w_buffer));
}
}