diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-08 21:00:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-08 21:00:24 +0000 |
commit | 48873aebc05608e9e5e56b8628ae6d2789ab7c48 (patch) | |
tree | cf86948c671f99666a080f1eba0d50c7bab2b785 /src | |
parent | 78a61068cf2c83e611d954a0fb413a09ad59dc07 (diff) | |
download | vim-git-48873aebc05608e9e5e56b8628ae6d2789ab7c48.tar.gz |
patch 8.2.3760: not automatically handling gnome terminal mouse like xtermv8.2.3760
Problem: Not automatically handling gnome terminal mouse like xterm.
Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
(issue #9296)
Diffstat (limited to 'src')
-rw-r--r-- | src/os_unix.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index f93bc9586..32850f3bf 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -2340,6 +2340,7 @@ use_xterm_like_mouse(char_u *name) && (term_is_xterm || STRNICMP(name, "screen", 6) == 0 || STRNICMP(name, "tmux", 4) == 0 + || STRNICMP(name, "gnome", 5) == 0 || STRICMP(name, "st") == 0 || STRNICMP(name, "st-", 3) == 0 || STRNICMP(name, "stterm", 6) == 0)); diff --git a/src/version.c b/src/version.c index 13b6a0cf6..3f0b5fda9 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3760, +/**/ 3759, /**/ 3758, |