From: Bram Moolenaar Date: Sun, 14 Aug 2016 16:23:21 +0000 (+0200) Subject: patch 7.4.2211 X-Git-Tag: v7.4.2211 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e56132bb4167f8b6ea4814cc2c99a71df3d07ff8;p=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) --- diff --git a/src/os_unix.c b/src/os_unix.c index 9e5331821..78063704c 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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 diff --git a/src/version.c b/src/version.c index 4c8ed6eaa..9be301f1d 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2211, /**/ 2210, /**/