summaryrefslogtreecommitdiff
path: root/src/proto/main.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-12-01 12:03:47 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-01 12:03:47 +0000
commit733a69b29f0b0c3d2ddca463a41bdd912379bc5e (patch)
tree65bc4282dda846e701691450320de90c07cf5e44 /src/proto/main.pro
parent4f501171f7ba8fe3d24c7e5bf5fcec5b5f246df1 (diff)
downloadvim-git-733a69b29f0b0c3d2ddca463a41bdd912379bc5e.tar.gz
patch 9.0.0980: the keyboard state response may end up in a shell commandv9.0.0980
Problem: The keyboard state response may end up in a shell command. Solution: Only request the keyboard protocol state when the typeahead is empty, no more commands are following and not exiting. Add the t_RK termcap entry for this.
Diffstat (limited to 'src/proto/main.pro')
-rw-r--r--src/proto/main.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/main.pro b/src/proto/main.pro
index f0f9b7360..307b6063c 100644
--- a/src/proto/main.pro
+++ b/src/proto/main.pro
@@ -9,6 +9,7 @@ void may_trigger_safestate(int safe);
void state_no_longer_safe(char *reason);
int get_was_safe_state(void);
void may_trigger_safestateagain(void);
+int work_pending(void);
void main_loop(int cmdwin, int noexmode);
void getout_preserve_modified(int exitval);
void getout(int exitval);