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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user