Skip to content

Commit d595503

Browse files
committed
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)
1 parent bc359a1 commit d595503

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/message.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static int verbose_did_open = FALSE;
8585
* need_wait_return to be set. This is a hack to make ":ts"
8686
* work without an extra prompt.
8787
* lines_left Number of lines available for messages before the
88-
* more-prompt is to be given.
88+
* more-prompt is to be given. -1 when not set.
8989
* need_wait_return TRUE when the hit-return prompt is needed.
9090
* Reset: After giving the hit-return prompt, when the user
9191
* has answered some other prompt.
@@ -855,6 +855,7 @@ msg_end_prompt()
855855
cmdline_row = msg_row;
856856
msg_col = 0;
857857
msg_clr_eos();
858+
lines_left = -1;
858859
}
859860
#endif
860861

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ static char *(features[]) =
714714

715715
static int included_patches[] =
716716
{ /* Add new patch number below this line */
717+
/**/
718+
389,
717719
/**/
718720
388,
719721
/**/

0 commit comments

Comments
 (0)