diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-02-05 22:05:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-02-05 22:05:48 +0100 |
commit | a8c8a688ac66958f9d1d8763925cefe739e46ccc (patch) | |
tree | 693bc1e2a539465e425979c2784a4729c07ec8b7 /src/getchar.c | |
parent | 73b2470896034e9d5a13837eec49b2f1065b8c12 (diff) | |
download | vim-git-a8c8a688ac66958f9d1d8763925cefe739e46ccc.tar.gz |
updated for version 7.3.431v7.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().
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c index af18c6f24..dc7d76847 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -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 |