]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.882 v7.3.882
authorBram Moolenaar <Bram@vim.org>
Fri, 5 Apr 2013 17:50:17 +0000 (19:50 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 5 Apr 2013 17:50:17 +0000 (19:50 +0200)
Problem:    CursorHold may trigger after receiving the termresponse.
Solution:   Set the did_cursorhold flag. (Hayaki Saito)

src/term.c
src/version.c

index a63dff37d7f90d0ab6c55a5d1b00a0d1d16c6ea0..438c15940531095761093ed5d4318476750f4d90 100644 (file)
@@ -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. */
index 4d056c640d803181109a5c88b2ab356b1a2b7764..b24748a9b11ac8b3e52992dd70119c7935831a39 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    882,
 /**/
     881,
 /**/