Problem: Mouse support is not automatically enabled with simple term.
Solution: Recognize "st" and other names. (Manuel Schiller, closes #963)
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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2211,
/**/
2210,
/**/