vim-patch:8.0.1525: using :wqa exits even if a job runs in a terminal window

Problem:    Using :wqa exits even if a job runs in a terminal window. (Jason
            Felice)
Solution:   Check if a terminal has a running job. (closes vim/vim#2654)
7a76092a51
This commit is contained in:
Jan Edmund Lazo
2020-03-10 20:59:13 -04:00
parent 11249ad021
commit 56f5e3bd6b
4 changed files with 16 additions and 5 deletions

View File

@@ -1297,7 +1297,7 @@ bool check_changed(buf_T *buf, int flags)
if (flags & CCGD_EXCMD) {
no_write_message();
} else {
no_write_message_nobang();
no_write_message_nobang(curbuf);
}
return true;
}