forked from aniani/vim
updated for version 7.3.882
Problem: CursorHold may trigger after receiving the termresponse. Solution: Set the did_cursorhold flag. (Hayaki Saito)
This commit is contained in:
@@ -4137,6 +4137,9 @@ check_termcode(max_offset, buf, bufsize, buflen)
|
|||||||
char *p = NULL;
|
char *p = NULL;
|
||||||
|
|
||||||
u7_status = U7_GOT;
|
u7_status = U7_GOT;
|
||||||
|
# ifdef FEAT_AUTOCMD
|
||||||
|
did_cursorhold = TRUE;
|
||||||
|
# endif
|
||||||
if (extra == 2)
|
if (extra == 2)
|
||||||
p = "single";
|
p = "single";
|
||||||
else if (extra == 3)
|
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')
|
if (*T_CRV != NUL && i > 2 + (tp[0] != CSI) && tp[i] == 'c')
|
||||||
{
|
{
|
||||||
crv_status = CRV_GOT;
|
crv_status = CRV_GOT;
|
||||||
|
# ifdef FEAT_AUTOCMD
|
||||||
|
did_cursorhold = TRUE;
|
||||||
|
# endif
|
||||||
|
|
||||||
/* If this code starts with CSI, you can bet that the
|
/* If this code starts with CSI, you can bet that the
|
||||||
* terminal uses 8-bit codes. */
|
* terminal uses 8-bit codes. */
|
||||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
882,
|
||||||
/**/
|
/**/
|
||||||
881,
|
881,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user