vim-patch:8.0.0953: get "no write since last change" error in terminal window

Problem:    Get "no write since last change" error in terminal window.
Solution:   Use another message when closing a terminal window. Make ":quit!"
            also end the job.
f5be7cd016
This commit is contained in:
Jan Edmund Lazo
2019-06-13 22:27:47 -04:00
parent 6efa3bff09
commit 18b031ea1d
6 changed files with 16 additions and 9 deletions

View File

@@ -6216,7 +6216,7 @@ ex_win_close(
}
need_hide = false;
} else {
EMSG(_(e_nowrtmsg));
no_write_message();
return;
}
}