# HG changeset patch # User Bram Moolenaar # Date 1365184217 -7200 # Node ID 8653c39b85ea93e052bb0cbda571e7298451eebe # Parent 1659ea0212763f8577a730458ff4dceeb2bcee5f 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 --- a/src/term.c +++ b/src/term.c @@ -4137,6 +4137,9 @@ check_termcode(max_offset, buf, bufsize, 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, 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 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 882, +/**/ 881, /**/ 880,