1
0
forked from aniani/vim

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:
Bram Moolenaar
2020-05-29 22:41:41 +02:00
parent 09307e3bc1
commit b42c0d5427
8 changed files with 50 additions and 14 deletions

View File

@@ -3467,7 +3467,7 @@ term_channel_closed(channel_T *ch)
redraw_statuslines();
// Need to break out of vgetc().
ins_char_typebuf(K_IGNORE);
ins_char_typebuf(K_IGNORE, 0);
typebuf_was_filled = TRUE;
term = curbuf->b_term;