1
0
forked from aniani/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 #2654)
This commit is contained in:
Bram Moolenaar
2018-02-19 23:10:02 +01:00
parent 9c8816bd30
commit 7a76092a51
6 changed files with 23 additions and 4 deletions

View File

@@ -2110,7 +2110,7 @@ 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;
}
return FALSE;