Patch 8.2.2841
Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
'statusline' are set.
Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
Files: src/os_win32.c
*** ../vim-8.2.2840/src/os_win32.c 2021-05-01 17:45:59.996682556 +0200
--- src/os_win32.c 2021-05-07 14:56:26.470189271 +0200
***************
*** 1656,1665 ****
{
if (csbi.dwCursorPosition.Y != msg_row)
{
! // 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);
redrawcmd();
}
}
--- 1656,1665 ----
{
if (csbi.dwCursorPosition.Y != msg_row)
{
! // The screen is now messed up, must redraw the command
! // line and later all the windows.
redraw_all_later(CLEAR);
! compute_cmdrow();
redrawcmd();
}
}
*** ../vim-8.2.2840/src/version.c 2021-05-06 21:04:51.518534023 +0200
--- src/version.c 2021-05-07 15:00:07.613539517 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2841,
/**/
--
hundred-and-one symptoms of being an internet addict:
242. You turn down a better-paying job because it doesn't come with
a free e-mail account.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///