diff src/os_unix.c @ 26460:caad9c0ba543 v8.2.3760

patch 8.2.3760: not automatically handling gnome terminal mouse like xterm Commit: https://github.com/vim/vim/commit/48873aebc05608e9e5e56b8628ae6d2789ab7c48 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 8 21:00:24 2021 +0000 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)
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Dec 2021 22:15:03 +0100
parents b18f3b0f317c
children cf986610be6a
line wrap: on
line diff
--- 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));