forked from aniani/vim
patch 9.0.0311: test for hit-Enter prompt fails
Problem: Test for hit-Enter prompt fails. Solution: Only reset cmdline_row when 'cmdheight' is zero.
This commit is contained in:
@@ -831,8 +831,9 @@ after_updating_screen(int may_resize_shell UNUSED)
|
|||||||
handle_any_postponed_drop();
|
handle_any_postponed_drop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// in case it was changed in dont_use_message_window()
|
if (p_ch == 0)
|
||||||
cmdline_row = Rows - p_ch;
|
// in case it was changed in dont_use_message_window()
|
||||||
|
cmdline_row = Rows;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -707,6 +707,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 */
|
||||||
|
/**/
|
||||||
|
311,
|
||||||
/**/
|
/**/
|
||||||
310,
|
310,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user