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().
diff --git a/src/getchar.c b/src/getchar.c
index af18c6f..dc7d768 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2282,7 +2282,8 @@
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