summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-29 15:06:50 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-29 15:06:50 +0100
commit13608d851a0470ced30921428b3313c023d395d8 (patch)
tree2e15e6c6a263703e8e293df3e852f6dbc9c092f0 /src/ex_cmds.c
parentb13d3405fffae1115acc1433479b616f30e292e5 (diff)
patch 9.0.0318: clearing screen causes flickerv9.0.0318
Problem: Clearing screen causes flicker. Solution: Do not clear but redraw in more cases. Add () to "wait_return".
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c5
1 files changed, 3 insertions, 2 deletions
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;