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".
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 9630252..d9f1c99 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1151,7 +1151,8 @@
#if defined(FEAT_EVAL)
if (!aborting())
#endif
- (void)semsg(_(e_cant_create_file_str), itmp); // will call wait_return
+ // will call wait_return()
+ (void)semsg(_(e_cant_create_file_str), itmp);
goto filterend;
}
if (curbuf != old_curbuf)
@@ -4331,7 +4332,7 @@
// needed
msg_no_more = TRUE;
// write message same highlighting as for
- // wait_return
+ // wait_return()
smsg_attr(HL_ATTR(HLF_R),
_("replace with %s (y/n/a/q/l/^E/^Y)?"), sub);
msg_no_more = FALSE;