From: Bram Moolenaar Date: Fri, 5 Apr 2013 17:50:17 +0000 (+0200) Subject: updated for version 7.3.882 X-Git-Tag: v7.3.882 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68879258d98853deb928a8ce93b497d39ce65296;p=thirdparty%2Fvim.git updated for version 7.3.882 Problem: CursorHold may trigger after receiving the termresponse. Solution: Set the did_cursorhold flag. (Hayaki Saito) --- diff --git a/src/term.c b/src/term.c index a63dff37d7..438c159405 100644 --- a/src/term.c +++ b/src/term.c @@ -4137,6 +4137,9 @@ check_termcode(max_offset, buf, bufsize, buflen) char *p = NULL; u7_status = U7_GOT; +# ifdef FEAT_AUTOCMD + did_cursorhold = TRUE; +# endif if (extra == 2) p = "single"; else if (extra == 3) @@ -4153,6 +4156,9 @@ check_termcode(max_offset, buf, bufsize, buflen) if (*T_CRV != NUL && i > 2 + (tp[0] != CSI) && tp[i] == 'c') { crv_status = CRV_GOT; +# ifdef FEAT_AUTOCMD + did_cursorhold = TRUE; +# endif /* If this code starts with CSI, you can bet that the * terminal uses 8-bit codes. */ diff --git a/src/version.c b/src/version.c index 4d056c640d..b24748a9b1 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 882, /**/ 881, /**/