0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.0-114

This commit is contained in:
Bram Moolenaar
2006-10-03 13:36:13 +00:00
parent 132283f943
commit d9dfd57f4a
2 changed files with 9 additions and 4 deletions

View File

@@ -1960,10 +1960,13 @@ vgetorpeek(advance)
c = Ctrl_C;
flush_buffers(TRUE); /* flush all typeahead */
/* Also record this character, it might be needed to
* get out of Insert mode. */
*typebuf.tb_buf = c;
gotchars(typebuf.tb_buf, 1);
if (advance)
{
/* Also record this character, it might be needed to
* get out of Insert mode. */
*typebuf.tb_buf = c;
gotchars(typebuf.tb_buf, 1);
}
cmd_silent = FALSE;
break;