1
0
forked from aniani/vim

patch 7.4.2211

Problem:    Mouse support is not automatically enabled with simple term.
Solution:   Recognize "st" and other names. (Manuel Schiller, closes #963)
This commit is contained in:
Bram Moolenaar 2016-08-14 18:23:21 +02:00
parent cff50f5ec9
commit e56132bb41
2 changed files with 7 additions and 1 deletions

View File

@ -2259,7 +2259,11 @@ vim_is_xterm(char_u *name)
use_xterm_like_mouse(char_u *name)
{
return (name != NULL
&& (term_is_xterm || STRNICMP(name, "screen", 6) == 0));
&& (term_is_xterm
|| STRNICMP(name, "screen", 6) == 0
|| STRICMP(name, "st") == 0
|| STRNICMP(name, "st-", 3) == 0
|| STRNICMP(name, "stterm", 6) == 0));
}
#endif

View File

@ -763,6 +763,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2211,
/**/
2210,
/**/