summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-04-05 19:50:17 +0200
committerBram Moolenaar <Bram@vim.org>2013-04-05 19:50:17 +0200
commit68879258d98853deb928a8ce93b497d39ce65296 (patch)
treef39b7cc9bb2cb4e9990d9858f42209ed3f8db333
parent24b11fb1730e37a4aa71434c130301a9369c835f (diff)
updated for version 7.3.882v7.3.882
Problem: CursorHold may trigger after receiving the termresponse. Solution: Set the did_cursorhold flag. (Hayaki Saito)
-rw-r--r--src/term.c6
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 0 deletions
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
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 882,
+/**/
881,
/**/
880,