Mercurial > vim
changeset 1160:4d649198593f
updated for version 7.1a
author | vimboss |
---|---|
date | Sun, 06 May 2007 13:49:21 +0000 |
parents | b5ee70fc4b0c |
children | 9abe06cc329f |
files | src/term.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c +++ b/src/term.c @@ -2981,7 +2981,8 @@ get_bytes_from_buf(buf, bytes, num_bytes ++len; /* skip KE_FILLER */ /* else it should be KS_SPECIAL, and c already equals K_SPECIAL */ } - else if (c == CSI && buf[len] == KS_EXTRA && buf[len + 1] == (int)KE_CSI) + else if (c == CSI && buf[len] == KS_EXTRA + && buf[len + 1] == (int)KE_CSI) /* CSI is stored as CSI KS_SPECIAL KE_CSI to avoid confusion with * the start of a special key, see add_to_input_buf_csi(). */ len += 2;