1
0
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:
Bram Moolenaar
2013-02-13 15:53:19 +01:00
parent f4e5e86627
commit be9c627666
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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,
/**/ /**/