summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2011-12-30 14:14:29 +0100
committerBram Moolenaar <bram@vim.org>2011-12-30 14:14:29 +0100
commit0e4d94e4b6d3bf40b2468d5fb3da245a7354a741 (patch)
tree8a0e5d8600cf93ec7b18f0eaf7877c447adff65b
parent3e6c7b138d49050606d45787b66d63848e9de10a (diff)
downloadvim-0e4d94e4b6d3bf40b2468d5fb3da245a7354a741.tar.gz
updated for version 7.3.389v7.3.389v7-3-389
Problem: After typing at a prompt the "MORE" message appears too soon. Solution: reset lines_left in msg_end_prompt(). (Eswald)
-rw-r--r--src/message.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 65f10579..6cd3fa2a 100644
--- a/src/message.c
+++ b/src/message.c
@@ -85,7 +85,7 @@ static int verbose_did_open = FALSE;
* need_wait_return to be set. This is a hack to make ":ts"
* work without an extra prompt.
* lines_left Number of lines available for messages before the
- * more-prompt is to be given.
+ * more-prompt is to be given. -1 when not set.
* need_wait_return TRUE when the hit-return prompt is needed.
* Reset: After giving the hit-return prompt, when the user
* has answered some other prompt.
@@ -855,6 +855,7 @@ msg_end_prompt()
cmdline_row = msg_row;
msg_col = 0;
msg_clr_eos();
+ lines_left = -1;
}
#endif
diff --git a/src/version.c b/src/version.c
index 9753d812..5aaf8948 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 389,
+/**/
388,
/**/
387,