Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
'statusline' are set.
Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
{
if (csbi.dwCursorPosition.Y != msg_row)
{
- // The screen is now messed up, must redraw the
- // command line and later all the windows.
+ // The screen is now messed up, must redraw the command
+ // line and later all the windows.
redraw_all_later(CLEAR);
- cmdline_row -= (msg_row - csbi.dwCursorPosition.Y);
+ compute_cmdrow();
redrawcmd();
}
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2841,
/**/
2840,
/**/