commit | fd30cd41dc61e293e567ccb83d7ee0ce8fdc14eb | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 22 13:07:26 2011 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 22 13:07:26 2011 +0100 |
tree | a4964337e01f30c9cbb982111f8dcaef45b8a2cc | |
parent | f63c49d4e93ef064836d6b96609f78813d72871c [diff] [blame] |
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.
diff --git a/src/misc1.c b/src/misc1.c index c39bb98..ca7e25d 100644 --- a/src/misc1.c +++ b/src/misc1.c
@@ -3116,7 +3116,7 @@ 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);