1
0
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:
Bram Moolenaar
2022-08-28 23:36:52 +01:00
parent b849c82851
commit 926218b5da
2 changed files with 5 additions and 2 deletions

View File

@@ -831,8 +831,9 @@ after_updating_screen(int may_resize_shell UNUSED)
handle_any_postponed_drop();
#endif
if (p_ch == 0)
// in case it was changed in dont_use_message_window()
cmdline_row = Rows - p_ch;
cmdline_row = Rows;
}
/*

View File

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