Patch 8.2.2874

6 views
Skip to first unread message

Bram Moolenaar

unread,
May 20, 2021, 5:55:09 AM5/20/21
to vim...@googlegroups.com

Patch 8.2.2874
Problem: MS-Windows: screen redraws too often.
Solution: Do not redraw when peeking for a character. (closes #8230,
closes #8211)
Files: src/os_win32.c


*** ../vim-8.2.2873/src/os_win32.c 2021-05-07 15:00:14.197520296 +0200
--- src/os_win32.c 2021-05-20 11:51:35.081792859 +0200
***************
*** 1648,1654 ****
peek_console_input(g_hConIn, &ir, 1, &cRecords);

# ifdef FEAT_MBYTE_IME
! if (State & CMDLINE && msg_row == Rows - 1)
{
CONSOLE_SCREEN_BUFFER_INFO csbi;

--- 1648,1656 ----
peek_console_input(g_hConIn, &ir, 1, &cRecords);

# ifdef FEAT_MBYTE_IME
! // May have to redraw if the cursor ends up in the wrong place.
! // Only when not peeking.
! if (State & CMDLINE && msg_row == Rows - 1 && msec != 0)
{
CONSOLE_SCREEN_BUFFER_INFO csbi;

*** ../vim-8.2.2873/src/version.c 2021-05-19 17:15:00.825866111 +0200
--- src/version.c 2021-05-20 11:53:44.617169132 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2874,
/**/

--
What the word 'politics' means: 'Poli' in Latin meaning 'many' and 'tics'
meaning 'bloodsucking creatures'.

/// 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 ///
Reply all
Reply to author
Forward
0 new messages