Skip to content

Commit 0ba4070

Browse files
committed
patch 8.0.0030
Problem: Mouse mode is not automatically detected for tmux. Solution: Check for 'term' to be "tmux". (Michael Henry)
1 parent cea912a commit 0ba4070

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/os_unix.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,6 +2261,7 @@ use_xterm_like_mouse(char_u *name)
22612261
return (name != NULL
22622262
&& (term_is_xterm
22632263
|| STRNICMP(name, "screen", 6) == 0
2264+
|| STRNICMP(name, "tmux", 4) == 0
22642265
|| STRICMP(name, "st") == 0
22652266
|| STRNICMP(name, "st-", 3) == 0
22662267
|| STRNICMP(name, "stterm", 6) == 0));
@@ -2324,6 +2325,7 @@ vim_is_fastterm(char_u *name)
23242325
return ( STRNICMP(name, "hpterm", 6) == 0
23252326
|| STRNICMP(name, "sun-cmd", 7) == 0
23262327
|| STRNICMP(name, "screen", 6) == 0
2328+
|| STRNICMP(name, "tmux", 4) == 0
23272329
|| STRNICMP(name, "dtterm", 6) == 0);
23282330
}
23292331

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
30,
767769
/**/
768770
29,
769771
/**/

0 commit comments

Comments
 (0)