diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-29 22:41:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-29 22:41:41 +0200 |
commit | b42c0d54279b1fdb79652db0c84171e213458809 (patch) | |
tree | e2357934da698d1fb980de7cbfb8ccbd62d982cb /src/normal.c | |
parent | 09307e3bc1423d5e8a05464b94717a948d6c059a (diff) | |
download | vim-git-b42c0d54279b1fdb79652db0c84171e213458809.tar.gz |
patch 8.2.0839: dropping modifier when putting a character back in typeaheadv8.2.0839
Problem: Dropping modifier when putting a character back in typeahead.
Solution: Add modifier to ins_char_typebuf(). (closes #6158)
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 690bb0081..48e1c71ae 100644 --- a/src/normal.c +++ b/src/normal.c @@ -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 |