diff src/misc1.c @ 2723:2e72d84e8965 v7.3.139

updated for version 7.3.139 Problem: When 'lazyredraw' is set ":ver" output can't be read. Solution: Don't redraw the screen when at a prompt or command line.
author Bram Moolenaar <bram@vim.org>
date Tue, 22 Mar 2011 13:07:26 +0100
parents 417c04135ca2
children 9a98d8562637
line wrap: on
line diff
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3116,7 +3116,7 @@ get_keystroke()
 
 	if (n == KEYLEN_REMOVED)  /* key code removed */
 	{
-	    if (must_redraw)
+	    if (must_redraw != 0 && !need_wait_return && (State & CMDLINE) == 0)
 	    {
 		/* Redrawing was postponed, do it now. */
 		update_screen(0);