1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
10 Patch 7.3.139 (after 7.3.137)
11 Problem: When 'lazyredraw' is set ":ver" output can't be read.
12 Solution: Don't redraw the screen when at a prompt or command line.
13 Files: src/getchar.c, src/message.c, src/misc1.c
16 *** ../vim-7.3.138/src/getchar.c 2011-03-03 15:04:01.000000000 +0100
17 --- src/getchar.c 2011-03-22 12:16:23.000000000 +0100
20 * changed text so far. Also for when 'lazyredraw' is set and
21 * redrawing was postponed because there was something in the
22 * input buffer (e.g., termresponse). */
23 ! if (((State & INSERT) || p_lz) && advance && must_redraw != 0)
26 setcursor(); /* put cursor back where it belongs */
28 * changed text so far. Also for when 'lazyredraw' is set and
29 * redrawing was postponed because there was something in the
30 * input buffer (e.g., termresponse). */
31 ! if (((State & INSERT) != 0 || p_lz) && (State & CMDLINE) == 0
32 ! && advance && must_redraw != 0 && !need_wait_return)
35 setcursor(); /* put cursor back where it belongs */
36 *** ../vim-7.3.138/src/message.c 2011-02-01 17:12:20.000000000 +0100
37 --- src/message.c 2011-03-22 13:06:24.000000000 +0100
44 ! * With the global command (and some others) we only need one return at the
45 ! * end. Adjust cmdline_row to avoid the next message overwriting the last one.
46 ! * When inside vgetc(), we can't wait for a typed character at all.
52 - need_wait_return = TRUE;
54 cmdline_row = msg_row;
61 ! * When inside vgetc(), we can't wait for a typed character at all.
62 ! * With the global command (and some others) we only need one return at
63 ! * the end. Adjust cmdline_row to avoid the next message overwriting the
68 + need_wait_return = TRUE;
72 cmdline_row = msg_row;
74 *** ../vim-7.3.138/src/misc1.c 2011-03-03 15:04:01.000000000 +0100
75 --- src/misc1.c 2011-03-22 12:15:26.000000000 +0100
79 if (n == KEYLEN_REMOVED) /* key code removed */
83 /* Redrawing was postponed, do it now. */
87 if (n == KEYLEN_REMOVED) /* key code removed */
89 ! if (must_redraw != 0 && !need_wait_return && (State & CMDLINE) == 0)
91 /* Redrawing was postponed, do it now. */
93 *** ../vim-7.3.138/src/version.c 2011-03-03 15:54:45.000000000 +0100
94 --- src/version.c 2011-03-22 13:06:33.000000000 +0100
98 { /* Add new patch number below this line */
104 "Software is like sex... it's better when it's free."
105 -- Linus Torvalds, initiator of the free Linux OS
106 Makes me wonder what FSF stands for...?
108 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
109 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
110 \\\ an exciting new programming language -- http://www.Zimbu.org ///
111 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///