summaryrefslogtreecommitdiff
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
commitb6cbd08d82b0616ba9aca6321c164decdd4cd9d5 (patch)
tree304b5c7d8f80964e9f8066ec15c652b31620693f
parent42454cf6fed8e0f089b37c710fcd7a946b71ba82 (diff)
downloadvim-b6cbd08d82b0616ba9aca6321c164decdd4cd9d5.tar.gz
updated for version 7.3.882v7.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 a63dff37..438c1594 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 4d056c64..b24748a9 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,