forked from aniani/vim
updated for version 7.3.811
Problem: Useless termresponse parsing for SGR mouse. Solution: Skip the parsing. (Hayaki Saito)
This commit is contained in:
@@ -4045,8 +4045,7 @@ check_termcode(max_offset, buf, bufsize, buflen)
|
|||||||
#ifdef FEAT_TERMRESPONSE
|
#ifdef FEAT_TERMRESPONSE
|
||||||
if (key_name[0] == NUL
|
if (key_name[0] == NUL
|
||||||
/* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
|
/* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
|
||||||
|| key_name[0] == KS_URXVT_MOUSE
|
|| key_name[0] == KS_URXVT_MOUSE)
|
||||||
|| key_name[0] == KS_SGR_MOUSE)
|
|
||||||
{
|
{
|
||||||
/* Check for xterm version string: "<Esc>[>{x};{vers};{y}c". Also
|
/* Check for xterm version string: "<Esc>[>{x};{vers};{y}c". Also
|
||||||
* eat other possible responses to t_RV, rxvt returns
|
* eat other possible responses to t_RV, rxvt returns
|
||||||
|
@@ -725,6 +725,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 */
|
||||||
|
/**/
|
||||||
|
811,
|
||||||
/**/
|
/**/
|
||||||
810,
|
810,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user