0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
Bram Moolenaar
2011-12-30 14:14:29 +01:00
parent 83bac4c31a
commit 5d6f75e17e
2 changed files with 4 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ static int verbose_did_open = FALSE;
* need_wait_return to be set. This is a hack to make ":ts" * need_wait_return to be set. This is a hack to make ":ts"
* work without an extra prompt. * work without an extra prompt.
* lines_left Number of lines available for messages before the * 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. * need_wait_return TRUE when the hit-return prompt is needed.
* Reset: After giving the hit-return prompt, when the user * Reset: After giving the hit-return prompt, when the user
* has answered some other prompt. * has answered some other prompt.
@@ -855,6 +855,7 @@ msg_end_prompt()
cmdline_row = msg_row; cmdline_row = msg_row;
msg_col = 0; msg_col = 0;
msg_clr_eos(); msg_clr_eos();
lines_left = -1;
} }
#endif #endif

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
389,
/**/ /**/
388, 388,
/**/ /**/