Mercurial > vim
diff src/proto/main.pro @ 18102:0d9ec3a2821f v8.1.2046
patch 8.1.2046: SafeState may be triggered at the wrong moment
Commit: https://github.com/vim/vim/commit/69198cb8c08f124729c41a4681f2d142228a9139
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 16 21:58:13 2019 +0200
patch 8.1.2046: SafeState may be triggered at the wrong moment
Problem: SafeState may be triggered at the wrong moment.
Solution: Move it up higher to after where messages are processed. Add a
SafeStateAgain event to tigger there.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Sep 2019 22:00:04 +0200 |
parents | a2870e6f5b45 |
children | e59ff7b5d7a7 |
line wrap: on
line diff
--- a/src/proto/main.pro +++ b/src/proto/main.pro @@ -3,7 +3,7 @@ int vim_main2(void); void common_init(mparm_T *paramp); int is_not_a_term(void); void may_trigger_safestate(int safe); -void enter_unsafe_state(void); +void state_no_longer_safe(void); void leave_unsafe_state(void); void main_loop(int cmdwin, int noexmode); void getout_preserve_modified(int exitval);