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 -- [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/202105200954.14K9sw11314542%40masaka.moolenaar.net.