From c842748302d33bcf41c6b796a43d9dbbf44cdc29 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 20 Oct 2011 21:09:35 +0200 Subject: updated for version 7.3.343 Problem: No mouse support for urxvt. Solution: Implement urxvt mouse support, also for > 252 columns. (Yiding Jia) --- src/option.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/option.h') diff --git a/src/option.h b/src/option.h index 1d4d950d1..21c275342 100644 --- a/src/option.h +++ b/src/option.h @@ -819,7 +819,7 @@ EXTERN long p_ttyscroll; /* 'ttyscroll' */ EXTERN char_u *p_ttym; /* 'ttymouse' */ EXTERN unsigned ttym_flags; # ifdef IN_OPTION_C -static char *(p_ttym_values[]) = {"xterm", "xterm2", "dec", "netterm", "jsbterm", "pterm", NULL}; +static char *(p_ttym_values[]) = {"xterm", "xterm2", "dec", "netterm", "jsbterm", "pterm", "urxvt", NULL}; # endif # define TTYM_XTERM 0x01 # define TTYM_XTERM2 0x02 @@ -827,6 +827,7 @@ static char *(p_ttym_values[]) = {"xterm", "xterm2", "dec", "netterm", "jsbterm" # define TTYM_NETTERM 0x08 # define TTYM_JSBTERM 0x10 # define TTYM_PTERM 0x20 +# define TTYM_URXVT 0x40 #endif EXTERN char_u *p_udir; /* 'undodir' */ EXTERN long p_ul; /* 'undolevels' */ -- cgit v1.2.1