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/message.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/message.c')
-rw-r--r-- | src/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c index 04dc4014f..45217e2c8 100644 --- a/src/message.c +++ b/src/message.c @@ -1258,7 +1258,7 @@ wait_return(int redraw) { // Put the character back in the typeahead buffer. Don't use the // stuff buffer, because lmaps wouldn't work. - ins_char_typebuf(c); + ins_char_typebuf(vgetc_char, vgetc_mod_mask); do_redraw = TRUE; // need a redraw even though there is // typeahead } @@ -3712,7 +3712,7 @@ do_dialog( if (c == ':' && ex_cmd) { retval = dfltbutton; - ins_char_typebuf(':'); + ins_char_typebuf(':', 0); break; } |