mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.3.431
Problem: Fetching a key at a prompt may be confused by escape sequences. Especially when getting a prompt at a VimEnter autocommand. (Alex Efros) Solution: Properly handle escape sequences deleted by check_termcode().
This commit is contained in:
@@ -2282,7 +2282,8 @@ vgetorpeek(advance)
|
||||
typebuf.tb_off] == RM_YES))
|
||||
&& !timedout)
|
||||
{
|
||||
keylen = check_termcode(max_mlen + 1, NULL, 0);
|
||||
keylen = check_termcode(max_mlen + 1,
|
||||
NULL, 0, NULL);
|
||||
|
||||
/* If no termcode matched but 'pastetoggle'
|
||||
* matched partially it's like an incomplete key
|
||||
|
Reference in New Issue
Block a user