From 13608d851a0470ced30921428b3313c023d395d8 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 29 Aug 2022 15:06:50 +0100 Subject: 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". --- src/ex_cmds.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ex_cmds.c') diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 96302529cc..d9f1c993db 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -1151,7 +1151,8 @@ do_filter( #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 @@ ex_substitute(exarg_T *eap) // 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; -- cgit v1.2.3