mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56: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:
@@ -523,7 +523,7 @@ void ml_open_file(buf_T *buf)
|
||||
}
|
||||
|
||||
if (*p_dir != NUL && mfp->mf_fname == NULL) {
|
||||
need_wait_return = true; // call wait_return later
|
||||
need_wait_return = true; // call wait_return() later
|
||||
no_wait_return++;
|
||||
(void)semsg(_("E303: Unable to open swap file for \"%s\", recovery impossible"),
|
||||
buf_spname(buf) != NULL ? buf_spname(buf) : buf->b_fname);
|
||||
|
Reference in New Issue
Block a user