mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3760: not automatically handling gnome terminal mouse like xterm
Problem: Not automatically handling gnome terminal mouse like xterm. Solution: Default 'ttymouse' to "xterm" and recognize Focus events. (issue #9296)
This commit is contained in:
@@ -2340,6 +2340,7 @@ use_xterm_like_mouse(char_u *name)
|
|||||||
&& (term_is_xterm
|
&& (term_is_xterm
|
||||||
|| STRNICMP(name, "screen", 6) == 0
|
|| STRNICMP(name, "screen", 6) == 0
|
||||||
|| STRNICMP(name, "tmux", 4) == 0
|
|| STRNICMP(name, "tmux", 4) == 0
|
||||||
|
|| STRNICMP(name, "gnome", 5) == 0
|
||||||
|| STRICMP(name, "st") == 0
|
|| STRICMP(name, "st") == 0
|
||||||
|| STRNICMP(name, "st-", 3) == 0
|
|| STRNICMP(name, "st-", 3) == 0
|
||||||
|| STRNICMP(name, "stterm", 6) == 0));
|
|| STRNICMP(name, "stterm", 6) == 0));
|
||||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3760,
|
||||||
/**/
|
/**/
|
||||||
3759,
|
3759,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user