commit | 7a76092a51fc5446426a4bfd9eb6503ec61bf9e9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Feb 19 23:10:02 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Feb 19 23:10:02 2018 +0100 |
tree | 8611ab3fbe9f232764ad5a9dc944c0c8aed807e3 | |
parent | 9c8816bd306a003c2ac3dce161be3fef481c9902 [diff] [blame] |
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)
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 6476d55..805e8c4 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c
@@ -2110,7 +2110,7 @@ if (flags & CCGD_EXCMD) no_write_message(); else - no_write_message_nobang(); + no_write_message_nobang(curbuf); return TRUE; } return FALSE;