Skip to content

Commit

Permalink
updated for version 7.3.882
Browse files Browse the repository at this point in the history
Problem:    CursorHold may trigger after receiving the termresponse.
Solution:   Set the did_cursorhold flag. (Hayaki Saito)
  • Loading branch information
brammool committed Apr 5, 2013
1 parent 24b11fb commit 6887925
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/term.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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. */
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
882,
/**/
881,
/**/
Expand Down

0 comments on commit 6887925

Please sign in to comment.