summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-10-12 14:50:54 +0200
committerBram Moolenaar <Bram@vim.org>2016-10-12 14:50:54 +0200
commit0ba407012c63064f03f1a5677677d4da423e5a73 (patch)
tree9e61876aa9abd9519c605d1d00f5cccbf1a9ddc9
parentcea912af725c54f4727a0565e31661f6b29c6bb1 (diff)
patch 8.0.0030v8.0.0030
Problem: Mouse mode is not automatically detected for tmux. Solution: Check for 'term' to be "tmux". (Michael Henry)
-rw-r--r--src/os_unix.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 107a474820..8b0dd552d1 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -2261,6 +2261,7 @@ use_xterm_like_mouse(char_u *name)
return (name != NULL
&& (term_is_xterm
|| STRNICMP(name, "screen", 6) == 0
+ || STRNICMP(name, "tmux", 4) == 0
|| STRICMP(name, "st") == 0
|| STRNICMP(name, "st-", 3) == 0
|| STRNICMP(name, "stterm", 6) == 0));
@@ -2324,6 +2325,7 @@ vim_is_fastterm(char_u *name)
return ( STRNICMP(name, "hpterm", 6) == 0
|| STRNICMP(name, "sun-cmd", 7) == 0
|| STRNICMP(name, "screen", 6) == 0
+ || STRNICMP(name, "tmux", 4) == 0
|| STRNICMP(name, "dtterm", 6) == 0);
}
diff --git a/src/version.c b/src/version.c
index b6bad041bf..07b3da794f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 30,
+/**/
29,
/**/
28,