From: Bram Moolenaar Date: Sun, 6 May 2007 13:49:21 +0000 (+0000) Subject: updated for version 7.1a X-Git-Tag: v7.1a~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d1ab51e8f588625f424ac6cab2d008792eb4b65;p=vim updated for version 7.1a --- 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;