Mercurial > vim
diff src/version.c @ 18354:9f51d0cef8da v8.1.2171
patch 8.1.2171: mouse support not always available
Commit: https://github.com/vim/vim/commit/a1cb1d1dce14dd005797590721f1bcd0e7c3b35f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 17 23:00:07 2019 +0200
patch 8.1.2171: mouse support not always available
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Oct 2019 23:15:04 +0200 |
parents | 94e1a49b879e |
children | 596a04c49d76 |
line wrap: on
line diff
--- a/src/version.c +++ b/src/version.c @@ -359,15 +359,11 @@ static char *(features[]) = "-mksession", #endif "+modify_fname", -#ifdef FEAT_MOUSE "+mouse", -# ifdef FEAT_MOUSESHAPE +#ifdef FEAT_MOUSESHAPE "+mouseshape", -# else +#else "-mouseshape", -# endif -# else - "-mouse", #endif #if defined(UNIX) || defined(VMS) @@ -402,11 +398,7 @@ static char *(features[]) = #endif #if defined(UNIX) || defined(VMS) -# ifdef FEAT_MOUSE_XTERM "+mouse_sgr", -# else - "-mouse_sgr", -# endif # ifdef FEAT_SYSMOUSE "+mouse_sysmouse", # else @@ -417,11 +409,7 @@ static char *(features[]) = # else "-mouse_urxvt", # endif -# ifdef FEAT_MOUSE_XTERM "+mouse_xterm", -# else - "-mouse_xterm", -# endif #endif #ifdef FEAT_MBYTE_IME @@ -754,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2171, +/**/ 2170, /**/ 2169,