mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
vim-patch:9.0.0318: clearing screen causes flicker (#19993)
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
13608d851a
Only 2 lines of actual code change.
This commit is contained in:
@@ -364,7 +364,7 @@ bool check_changed_any(bool hidden, bool unload)
|
||||
exiting = false;
|
||||
// When ":confirm" used, don't give an error message.
|
||||
if (!(p_confirm || (cmdmod.cmod_flags & CMOD_CONFIRM))) {
|
||||
// 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