patch 8.2.2961: keys typed during a :normal command are discarded
Problem: Keys typed during a :normal command are discarded.
Solution: Concatenate saved typeahead and typed kesy. (closes #8340)
diff --git a/src/debugger.c b/src/debugger.c
index 6f52e98..9c3c4a1 100644
--- a/src/debugger.c
+++ b/src/debugger.c
@@ -140,7 +140,7 @@
if (typeahead_saved)
{
- restore_typeahead(&typeaheadbuf);
+ restore_typeahead(&typeaheadbuf, TRUE);
ignore_script = save_ignore_script;
}
ex_normal_busy = save_ex_normal_busy;