summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.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_docmd.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_docmd.c')
-rw-r--r--src/ex_docmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 598c6b7c32..1891d8085a 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -879,7 +879,7 @@ do_cmdline(
, in_vim9script() ? GETLINE_CONCAT_CONTBAR
: GETLINE_CONCAT_CONT)) == NULL)
{
- // Don't call wait_return for aborted command line. The NULL
+ // Don't call wait_return() for aborted command line. The NULL
// returned for the end of a sourced file or executed function
// doesn't do this.
if (KeyTyped && !(flags & DOCMD_REPEAT))
@@ -1355,7 +1355,7 @@ do_cmdline(
else if (need_wait_return)
{
/*
- * The msg_start() above clears msg_didout. The wait_return we do
+ * The msg_start() above clears msg_didout. The wait_return() we do
* here should not overwrite the command that may be shown before
* doing that.
*/