mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0839: dropping modifier when putting a character back in typeahead
Problem: Dropping modifier when putting a character back in typeahead. Solution: Add modifier to ins_char_typebuf(). (closes #6158)
This commit is contained in:
@@ -595,7 +595,7 @@ normal_cmd(
|
||||
// restart automatically.
|
||||
// Insert the typed character in the typeahead buffer, so that it can
|
||||
// be mapped in Insert mode. Required for ":lmap" to work.
|
||||
ins_char_typebuf(c);
|
||||
ins_char_typebuf(vgetc_char, vgetc_mod_mask);
|
||||
if (restart_edit != 0)
|
||||
c = 'd';
|
||||
else
|
||||
|
Reference in New Issue
Block a user