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.137 (after 7.3.091)
11 Problem: When 'lazyredraw' is set the screen may not be updated. (Ivan
13 Solution: Call update_screen() before waiting for input.
14 Files: src/misc1.c, src/getchar.c
17 *** ../vim-7.3.136/src/misc1.c 2011-01-22 00:11:42.000000000 +0100
18 --- src/misc1.c 2011-03-03 14:02:02.000000000 +0100
24 if (n == KEYLEN_REMOVED) /* key code removed */
28 + /* Redrawing was postponed, do it now. */
30 + setcursor(); /* put cursor back where it belongs */
34 if (n > 0) /* found a termcode: adjust length */
36 if (len == 0) /* nothing typed yet */
37 *** ../vim-7.3.136/src/getchar.c 2010-12-30 12:30:26.000000000 +0100
38 --- src/getchar.c 2011-03-03 14:01:26.000000000 +0100
41 * are still available. But when those available characters
42 * are part of a mapping, and we are going to do a blocking
43 * wait here. Need to update the screen to display the
44 ! * changed text so far. */
45 ! if ((State & INSERT) && advance && must_redraw != 0)
48 setcursor(); /* put cursor back where it belongs */
50 * are still available. But when those available characters
51 * are part of a mapping, and we are going to do a blocking
52 * wait here. Need to update the screen to display the
53 ! * changed text so far. Also for when 'lazyredraw' is set and
54 ! * redrawing was postponed because there was something in the
55 ! * input buffer (e.g., termresponse). */
56 ! if (((State & INSERT) || p_lz) && advance && must_redraw != 0)
59 setcursor(); /* put cursor back where it belongs */
60 *** ../vim-7.3.136/src/version.c 2011-03-03 15:01:25.000000000 +0100
61 --- src/version.c 2011-03-03 15:02:45.000000000 +0100
65 { /* Add new patch number below this line */
72 BLACK KNIGHT: None shall pass.
73 ARTHUR: I have no quarrel with you, good Sir knight, but I must cross
75 BLACK KNIGHT: Then you shall die.
76 The Quest for the Holy Grail (Monty Python)
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80 \\\ an exciting new programming language -- http://www.Zimbu.org ///
81 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///