summaryrefslogtreecommitdiffstats
path: root/src/proto/getchar.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-07 22:04:52 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-07 22:04:52 +0200
commitc41badb748bbaa78cbadfcda9ca965e8a283fb9b (patch)
tree01240bdb613c21b0b5648361c7716032ebff49ec /src/proto/getchar.pro
parent8cf02e5cf8fb14a5009f12e7af0a47617a0ce88d (diff)
patch 8.2.2961: keys typed during a :normal command are discardedv8.2.2961
Problem: Keys typed during a :normal command are discarded. Solution: Concatenate saved typeahead and typed kesy. (closes #8340)
Diffstat (limited to 'src/proto/getchar.pro')
-rw-r--r--src/proto/getchar.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/getchar.pro b/src/proto/getchar.pro
index 25aef1c01a..5f07ad6c2a 100644
--- a/src/proto/getchar.pro
+++ b/src/proto/getchar.pro
@@ -32,7 +32,7 @@ int typebuf_maplen(void);
void del_typebuf(int len, int offset);
int save_typebuf(void);
void save_typeahead(tasave_T *tp);
-void restore_typeahead(tasave_T *tp);
+void restore_typeahead(tasave_T *tp, int overwrite);
void openscript(char_u *name, int directly);
void close_all_scripts(void);
int using_script(void);