0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0f05

This commit is contained in:
Bram Moolenaar
2006-04-29 21:55:22 +00:00
parent 8ea9123258
commit d8fc5c0b99
8 changed files with 930 additions and 225 deletions

View File

@@ -1004,13 +1004,9 @@ wait_return(redraw)
#endif
if (vim_strchr((char_u *)"\r\n ", c) == NULL && c != Ctrl_C)
{
char_u buf[2];
/* Put the character back in the typeahead buffer. Don't use the
* stuff buffer, because lmaps wouldn't work. */
buf[0] = c;
buf[1] = NUL;
ins_typebuf(buf, REMAP_YES, 0, !KeyTyped, FALSE);
ins_char_typebuf(c);
do_redraw = TRUE; /* need a redraw even though there is
typeahead */
}