Problem: Message window may be positioned too low.
Solution: Compute cmdline_row before computing the position.
wp->w_winrow = Rows - 1;
}
if (wp->w_popup_pos == POPPOS_BOTTOM)
- // assume that each buffer line takes one screen line
+ {
+ // Assume that each buffer line takes one screen line, and one line
+ // for the top border. First make sure cmdline_row is valid,
+ // calling update_screen() will set it only later.
+ compute_cmdrow();
wp->w_winrow = MAX(cmdline_row
- wp->w_buffer->b_ml.ml_line_count - 1, 0);
+ }
if (!use_wantcol)
center_hor = TRUE;
--- /dev/null
+>s+0&#ffffff0|o|m|e| |t|e|x|t| @65
+|~+0#4040ff13&| @73
+|~| @73
+|~| @73
+|═+0#e000002&@74
+|m|e|s@1|a|g|e| @67
+|o+0#0000000&|n|e| @71
+|t|w|o| @53|1|,|1| @10|A|l@1|
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 446,
/**/
445,
/**/