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 9e53318..7806370 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -2259,7 +2259,11 @@
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