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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user