summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c6
1 files changed, 6 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. */