diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-12-30 14:14:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-12-30 14:14:29 +0100 |
commit | 5d6f75e17e783b4ce6702b243cf8fda107592e87 (patch) | |
tree | cb5b0da53ed13f9ff86a5243ac9e046d5161ce3c /src/message.c | |
parent | 83bac4c31a8ed61eb72e41d58c1e61f944e58499 (diff) | |
download | vim-5d6f75e17e783b4ce6702b243cf8fda107592e87.zip |
updated for version 7.3.389
Problem: After typing at a prompt the "MORE" message appears too soon.
Solution: reset lines_left in msg_end_prompt(). (Eswald)
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c index 65f105790..6cd3fa2ab 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 |