comparison src/terminal.c @ 20571:5995db0fe84a v8.2.0839

patch 8.2.0839: dropping modifier when putting a character back in typeahead Commit: https://github.com/vim/vim/commit/b42c0d54279b1fdb79652db0c84171e213458809 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 29 22:41:41 2020 +0200 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 https://github.com/vim/vim/issues/6158)
author Bram Moolenaar <Bram@vim.org>
date Fri, 29 May 2020 22:45:05 +0200
parents eedaa9a30ab4
children d571231175b4
comparison
equal deleted inserted replaced
20570:c08ee6345092 20571:5995db0fe84a
3465 if (did_one) 3465 if (did_one)
3466 { 3466 {
3467 redraw_statuslines(); 3467 redraw_statuslines();
3468 3468
3469 // Need to break out of vgetc(). 3469 // Need to break out of vgetc().
3470 ins_char_typebuf(K_IGNORE); 3470 ins_char_typebuf(K_IGNORE, 0);
3471 typebuf_was_filled = TRUE; 3471 typebuf_was_filled = TRUE;
3472 3472
3473 term = curbuf->b_term; 3473 term = curbuf->b_term;
3474 if (term != NULL) 3474 if (term != NULL)
3475 { 3475 {