projects
/
vim
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cea912a
)
patch 8.0.0030
v8.0.0030
author
Bram Moolenaar
<Bram@vim.org>
Wed, 12 Oct 2016 12:50:54 +0000
(14:50 +0200)
committer
Bram Moolenaar
<Bram@vim.org>
Wed, 12 Oct 2016 12:50:54 +0000
(14:50 +0200)
Problem: Mouse mode is not automatically detected for tmux.
Solution: Check for 'term' to be "tmux". (Michael Henry)
src/os_unix.c
patch
|
blob
|
history
src/version.c
patch
|
blob
|
history
diff --git
a/src/os_unix.c
b/src/os_unix.c
index 107a474820be4a4c2480ef26ffa66286d9916a39..8b0dd552d15a6fc778b101ee8613acbc2e618f9e 100644
(file)
--- 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 b6bad041bf7d12f50f2b761af49b64c9d9579b51..07b3da794f71f82542a89e6c0335045e450d5b1a 100644
(file)
--- a/
src/version.c
+++ b/
src/version.c
@@
-764,6
+764,8
@@
static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 30,
/**/
29,
/**/