summaryrefslogtreecommitdiffstats
path: root/src/debugger.c
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/debugger.c
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/debugger.c')
-rw-r--r--src/debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debugger.c b/src/debugger.c
index 6f52e984d1..9c3c4a178c 100644
--- a/src/debugger.c
+++ b/src/debugger.c
@@ -140,7 +140,7 @@ do_debug(char_u *cmd)
if (typeahead_saved)
{
- restore_typeahead(&typeaheadbuf);
+ restore_typeahead(&typeaheadbuf, TRUE);
ignore_script = save_ignore_script;
}
ex_normal_busy = save_ex_normal_busy;