1
0
forked from aniani/vim

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

@@ -348,7 +348,7 @@ check_changed_any(
if (!(p_confirm || (cmdmod.cmod_flags & CMOD_CONFIRM)))
#endif
{
// There must be a wait_return for this message, do_buffer()
// There must be a wait_return() for this message, do_buffer()
// may cause a redraw. But wait_return() is a no-op when vgetc()
// is busy (Quit used from window menu), then make sure we don't
// cause a scroll up.