0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.0.0318: clearing screen causes flicker

Problem:    Clearing screen causes flicker.
Solution:   Do not clear but redraw in more cases.  Add () to "wait_return".
This commit is contained in:
Bram Moolenaar
2022-08-29 15:06:50 +01:00
parent b13d3405ff
commit 13608d851a
14 changed files with 39 additions and 37 deletions

View File

@@ -651,7 +651,7 @@ vim_main2(void)
/*
* When done something that is not allowed or given an error message call
* wait_return. This must be done before starttermcap(), because it may
* wait_return(). This must be done before starttermcap(), because it may
* switch to another screen. It must be done after settmode(TMODE_RAW),
* because we want to react on a single key stroke.
* Call settmode and starttermcap here, so the T_KS and T_TI may be
@@ -1226,7 +1226,7 @@ main_loop(
did_check_timestamps = FALSE;
if (need_check_timestamps)
check_timestamps(FALSE);
if (need_wait_return) // if wait_return still needed ...
if (need_wait_return) // if wait_return() still needed ...
wait_return(FALSE); // ... call it now
if (need_start_insertmode && goto_im() && !VIsual_active)
{