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:
zeertzjq
2022-08-30 06:26:06 +08:00
committed by GitHub
parent e78e369a9d
commit f58a979599
10 changed files with 17 additions and 16 deletions

View File

@@ -1347,7 +1347,8 @@ static void do_filter(linenr_T line1, linenr_T line2, exarg_T *eap, char *cmd, b
msg_putchar('\n'); // Keep message from buf_write().
no_wait_return--;
if (!aborting()) {
semsg(_("E482: Can't create file %s"), itmp); // Will call wait_return.
// will call wait_return()
semsg(_("E482: Can't create file %s"), itmp);
}
goto filterend;
}