diff options
author | Bram Moolenaar <bram@vim.org> | 2012-10-21 02:17:45 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2012-10-21 02:17:45 +0200 |
commit | 7856700a9389e13c6a41e9090207a5aaeebf34f4 (patch) | |
tree | 815f88a9c72949ec4633d3783a0723ff15a607dd | |
parent | 8d37f1a6f8a00ea705f44070127de3539582c987 (diff) | |
download | vim-7856700a9389e13c6a41e9090207a5aaeebf34f4.tar.gz |
Problem: Cannot detect URXVT and SGR mouse support.
Solution: add +mouse_urxvt and +mouse_sgr. (Hayaki Saito)
-rw-r--r-- | src/eval.c | 6 | ||||
-rw-r--r-- | src/feature.h | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 10 insertions, 0 deletions
@@ -12276,9 +12276,15 @@ f_has(argvars, rettv) # ifdef FEAT_MOUSE_PTERM "mouse_pterm", # endif +# ifdef FEAT_MOUSE_SGR + "mouse_sgr", +# endif # ifdef FEAT_SYSMOUSE "mouse_sysmouse", # endif +# ifdef FEAT_MOUSE_URXVT + "mouse_urxvt", +# endif # ifdef FEAT_MOUSE_XTERM "mouse_xterm", # endif diff --git a/src/feature.h b/src/feature.h index f3351048..7ef654bb 100644 --- a/src/feature.h +++ b/src/feature.h @@ -1038,8 +1038,10 @@ * +mouse_gpm Unix only: Include code for Linux console mouse * handling. * +mouse_pterm PTerm mouse support for QNX + * +mouse_sgr Unix only: Include code for for SGR-styled mouse. * +mouse_sysmouse Unix only: Include code for FreeBSD and DragonFly * console mouse handling. + * +mouse_urxvt Unix only: Include code for for urxvt mosue handling. * +mouse Any mouse support (any of the above enabled). */ /* OS/2 and Amiga console have no mouse support */ diff --git a/src/version.c b/src/version.c index e0404d0b..cbe525cc 100644 --- a/src/version.c +++ b/src/version.c @@ -720,6 +720,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 700, +/**/ 699, /**/ 698, |