forked from aniani/vim
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)
This commit is contained in:
@@ -8249,7 +8249,7 @@ save_current_state(save_state_T *sst)
|
||||
restore_current_state(save_state_T *sst)
|
||||
{
|
||||
// Restore the previous typeahead.
|
||||
restore_typeahead(&sst->tabuf);
|
||||
restore_typeahead(&sst->tabuf, FALSE);
|
||||
|
||||
msg_scroll = sst->save_msg_scroll;
|
||||
restart_edit = sst->save_restart_edit;
|
||||
|
Reference in New Issue
Block a user