blob: b9b385f87f78341ea96762e93b730ef77a6c9a41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
To: vim_dev@googlegroups.com
Subject: Patch 7.3.358
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------
Patch 7.3.358 (after 7.3.353)
Problem: Mouse support doesn't work properly.
Solution: Add HMT_URXVT. (lilydjwg, James McCoy)
Files: src/term.c
*** ../vim-7.3.357/src/term.c 2011-10-26 23:48:17.000000000 +0200
--- src/term.c 2011-11-30 14:42:22.000000000 +0100
***************
*** 1996,2001 ****
--- 1996,2002 ----
# define HMT_DEC 4
# define HMT_JSBTERM 8
# define HMT_PTERM 16
+ # define HMT_URXVT 32
static int has_mouse_termcode = 0;
# endif
***************
*** 2031,2036 ****
--- 2032,2042 ----
has_mouse_termcode |= HMT_PTERM;
else
# endif
+ # ifdef FEAT_MOUSE_URXVT
+ if (n == KS_URXVT_MOUSE)
+ has_mouse_termcode |= HMT_URXVT;
+ else
+ # endif
has_mouse_termcode |= HMT_NORMAL;
# endif
}
***************
*** 2068,2073 ****
--- 2074,2084 ----
has_mouse_termcode &= ~HMT_PTERM;
else
# endif
+ # ifdef FEAT_MOUSE_URXVT
+ if (n == KS_URXVT_MOUSE)
+ has_mouse_termcode &= ~HMT_URXVT;
+ else
+ # endif
has_mouse_termcode &= ~HMT_NORMAL;
# endif
}
*** ../vim-7.3.357/src/version.c 2011-11-30 13:42:40.000000000 +0100
--- src/version.c 2011-11-30 14:45:06.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
{ /* Add new patch number below this line */
+ /**/
+ 358,
/**/
--
I noticed my daughter's Disney-net password on a sticky note:
"MickeyMinnieGoofyPluto". I asked her why it was so long.
"Because they say it has to have at least four characters."
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|