1
0
forked from aniani/vim

patch 8.1.1267: cannot check if GPM mouse support is working

Problem:    Cannot check if GPM mouse support is working.
Solution:   Add the "mouse_gpm_enable" feature.
This commit is contained in:
Bram Moolenaar
2019-05-04 17:34:34 +02:00
parent 8caef443b2
commit 4b8366b56e
5 changed files with 19 additions and 2 deletions

View File

@@ -6810,6 +6810,10 @@ f_has(typval_T *argvars, typval_T *rettv)
else if (STRICMP(name, "netbeans_enabled") == 0)
n = netbeans_active();
#endif
#ifdef FEAT_MOUSE_GPM
else if (STRICMP(name, "mouse_gpm_enabled") == 0)
n = gpm_enabled();
#endif
#if defined(FEAT_TERMINAL) && defined(MSWIN)
else if (STRICMP(name, "terminal") == 0)
n = terminal_enabled();