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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202105071304.147D4q4f1373995%40masaka.moolenaar.net.

Raspunde prin e-mail lui