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/proto | |
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/proto')
-rw-r--r-- | src/proto/term.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/term.pro b/src/proto/term.pro index 66c4c2ed5..9958763bf 100644 --- a/src/proto/term.pro +++ b/src/proto/term.pro @@ -50,7 +50,7 @@ char_u *find_termcode __ARGS((char_u *name)); char_u *get_termcode __ARGS((int i)); void del_termcode __ARGS((char_u *name)); void set_mouse_topline __ARGS((win_T *wp)); -int check_termcode __ARGS((int max_offset, char_u *buf, int buflen)); +int check_termcode __ARGS((int max_offset, char_u *buf, int bufsize, int *buflen)); char_u *replace_termcodes __ARGS((char_u *from, char_u **bufp, int from_part, int do_lt, int special)); int find_term_bykeys __ARGS((char_u *src)); void show_termcodes __ARGS((void)); |