summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-03-22 13:07:26 +0100
committerBram Moolenaar <Bram@vim.org>2011-03-22 13:07:26 +0100
commitfd30cd41dc61e293e567ccb83d7ee0ce8fdc14eb (patch)
treea4964337e01f30c9cbb982111f8dcaef45b8a2cc /src/message.c
parentf63c49d4e93ef064836d6b96609f78813d72871c (diff)
downloadvim-git-fd30cd41dc61e293e567ccb83d7ee0ce8fdc14eb.tar.gz
updated for version 7.3.139v7.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.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/message.c b/src/message.c
index 07e734be9..89248b4cf 100644
--- a/src/message.c
+++ b/src/message.c
@@ -879,16 +879,17 @@ wait_return(redraw)
if (msg_silent != 0)
return;
-/*
- * With the global command (and some others) we only need one return at the
- * end. Adjust cmdline_row to avoid the next message overwriting the last one.
- * When inside vgetc(), we can't wait for a typed character at all.
- */
+ /*
+ * When inside vgetc(), we can't wait for a typed character at all.
+ * With the global command (and some others) we only need one return at
+ * the end. Adjust cmdline_row to avoid the next message overwriting the
+ * last one.
+ */
if (vgetc_busy > 0)
return;
+ need_wait_return = TRUE;
if (no_wait_return)
{
- need_wait_return = TRUE;
if (!exmode_active)
cmdline_row = msg_row;
return;