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.
diff --git a/src/terminal.c b/src/terminal.c
index d482d19..304a7ba 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -267,7 +267,7 @@
/* Create a new buffer in the current window. */
if (!can_abandon(curbuf, forceit))
{
- EMSG(_(e_nowrtmsg));
+ no_write_message();
vim_free(term);
return;
}