Mercurial > vim
diff src/proto/undo.pro @ 13012:8d5b451d7bab v8.0.1382
patch 8.0.1382: get "no write since last change" message if terminal is open
commit https://github.com/vim/vim/commit/f405c8fe85bba6dc96a68a12ab976f745fc51a38
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 9 19:51:49 2017 +0100
patch 8.0.1382: get "no write since last change" message if terminal is open
Problem: Get "no write since last change" message if a terminal is open.
(Fritz mehner)
Solution: Don't consider a buffer changed if it's a terminal window.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 09 Dec 2017 20:00:06 +0100 |
parents | 21b0a39d13ed |
children | 4411c38f3d16 |
line wrap: on
line diff
--- a/src/proto/undo.pro +++ b/src/proto/undo.pro @@ -25,6 +25,7 @@ void u_clearline(void); void u_undoline(void); void u_blockfree(buf_T *buf); int bufIsChanged(buf_T *buf); +int bufIsChangedNotTerm(buf_T *buf); int curbufIsChanged(void); void u_eval_tree(u_header_T *first_uhp, list_T *list); /* vim: set ft=c : */