diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-06 13:49:21 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-06 13:49:21 +0000 |
commit | 8d1ab51e8f588625f424ac6cab2d008792eb4b65 (patch) | |
tree | 97e6c0a30c422c4941990a49cf1063fe3701aba3 /src/term.c | |
parent | 6519ac87d8fffb97f22f64289ce825544913d3ec (diff) | |
download | vim-git-8d1ab51e8f588625f424ac6cab2d008792eb4b65.tar.gz |
updated for version 7.1a
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 187285261..558928b61 100644 --- 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; |