summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-08-15 16:21:32 +0200
committerBram Moolenaar <Bram@vim.org>2012-08-15 16:21:32 +0200
commit2b9578f0f8cdba144e996273bca586b384e33d90 (patch)
tree02ae5bd4f971f8f08c62248baeae4d5f62939de5 /src/option.h
parent2430586629dfccd637a23c45793fc182d2cb2b87 (diff)
downloadvim-git-2b9578f0f8cdba144e996273bca586b384e33d90.tar.gz
updated for version 7.3.632v7.3.632
Problem: Cannot select beyond 222 columns with the mouse in xterm. Solution: Add support for SGR mouse tracking. (Hayaki Saito)
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h
index b0cbe1294..3474d8e7b 100644
--- a/src/option.h
+++ b/src/option.h
@@ -822,7 +822,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", "urxvt", NULL};
+static char *(p_ttym_values[]) = {"xterm", "xterm2", "dec", "netterm", "jsbterm", "pterm", "urxvt", "sgr", NULL};
# endif
# define TTYM_XTERM 0x01
# define TTYM_XTERM2 0x02
@@ -831,6 +831,7 @@ static char *(p_ttym_values[]) = {"xterm", "xterm2", "dec", "netterm", "jsbterm"
# define TTYM_JSBTERM 0x10
# define TTYM_PTERM 0x20
# define TTYM_URXVT 0x40
+# define TTYM_SGR 0x80
#endif
EXTERN char_u *p_udir; /* 'undodir' */
EXTERN long p_ul; /* 'undolevels' */