Mercurial > vim
comparison src/proto/main.pro @ 18116:7f57ea9a4ba8 v8.1.2053
patch 8.1.2053: SafeStateAgain not triggered if callback uses feedkeys()
Commit: https://github.com/vim/vim/commit/d103ee78432f9036d243b18dd5aac1263d3b7dc9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 18 21:15:31 2019 +0200
patch 8.1.2053: SafeStateAgain not triggered if callback uses feedkeys()
Problem: SafeStateAgain not triggered if callback uses feedkeys().
Solution: Check for safe state in the input loop. Make log messages easier
to find. Add 'S' flag to state().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 18 Sep 2019 21:30:03 +0200 |
parents | b456bba1276a |
children | a961efb326e5 |
comparison
equal
deleted
inserted
replaced
18115:bd18e9db370e | 18116:7f57ea9a4ba8 |
---|---|
2 int vim_main2(void); | 2 int vim_main2(void); |
3 void common_init(mparm_T *paramp); | 3 void common_init(mparm_T *paramp); |
4 int is_not_a_term(void); | 4 int is_not_a_term(void); |
5 int op_pending(void); | 5 int op_pending(void); |
6 void may_trigger_safestate(int safe); | 6 void may_trigger_safestate(int safe); |
7 void state_no_longer_safe(void); | 7 void state_no_longer_safe(char *reason); |
8 int get_was_safe_state(void); | |
8 void may_trigger_safestateagain(void); | 9 void may_trigger_safestateagain(void); |
9 void main_loop(int cmdwin, int noexmode); | 10 void main_loop(int cmdwin, int noexmode); |
10 void getout_preserve_modified(int exitval); | 11 void getout_preserve_modified(int exitval); |
11 void getout(int exitval); | 12 void getout(int exitval); |
12 int process_env(char_u *env, int is_viminit); | 13 int process_env(char_u *env, int is_viminit); |