4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: After the ":intro" message only a mouse click in the last line
12 gets past the hit-return prompt.
13 Solution: Accept a click at or below the hit-return prompt.
14 Files: src/gui.c, src/message.c
17 *** ../vim-6.2.173/src/gui.c Sun Oct 26 20:19:23 2003
18 --- src/gui.c Tue Jan 6 18:00:47 2004
21 case INSERT+LANGMAP: checkfor = MOUSE_INSERT; break;
23 case HITRETURN: /* At the more- and hit-enter prompt pass the
24 ! mouse event for a click on the last line. */
25 ! if (Y_2_ROW(y) == Rows - 1)
26 checkfor = MOUSE_NORMAL;
28 checkfor = MOUSE_RETURN;
30 case INSERT+LANGMAP: checkfor = MOUSE_INSERT; break;
32 case HITRETURN: /* At the more- and hit-enter prompt pass the
33 ! mouse event for a click on or below the
35 ! if (Y_2_ROW(y) >= msg_row)
36 checkfor = MOUSE_NORMAL;
38 checkfor = MOUSE_RETURN;
41 # ifdef FEAT_MOUSESHAPE
42 if (State == HITRETURN || State == ASKMORE)
44 ! if (Y_2_ROW(y) == Rows - 1)
45 update_mouseshape(SHAPE_IDX_MOREL);
47 update_mouseshape(SHAPE_IDX_MORE);
49 # ifdef FEAT_MOUSESHAPE
50 if (State == HITRETURN || State == ASKMORE)
52 ! if (Y_2_ROW(y) >= msg_row)
53 update_mouseshape(SHAPE_IDX_MOREL);
55 update_mouseshape(SHAPE_IDX_MORE);
56 *** ../vim-6.2.173/src/message.c Sat Sep 27 19:36:47 2003
57 --- src/message.c Tue Jan 6 18:02:31 2004
60 || c == K_RIGHTDRAG || c == K_RIGHTRELEASE
61 || c == K_MOUSEDOWN || c == K_MOUSEUP
62 || (!mouse_has(MOUSE_RETURN)
63 ! && mouse_row != Rows - 1
68 || c == K_RIGHTDRAG || c == K_RIGHTRELEASE
69 || c == K_MOUSEDOWN || c == K_MOUSEUP
70 || (!mouse_has(MOUSE_RETURN)
71 ! && mouse_row < msg_row
75 *** ../vim-6.2.173/src/version.c Tue Jan 6 16:33:35 2004
76 --- src/version.c Thu Jan 8 20:51:27 2004
80 { /* Add new patch number below this line */
86 hundred-and-one symptoms of being an internet addict:
87 197. Your desk collapses under the weight of your computer peripherals.
89 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
90 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
91 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
92 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///