summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.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_cmds2.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_cmds2.c')
-rw-r--r--src/ex_cmds2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index a41e0675b7..3db15922fa 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -348,7 +348,7 @@ check_changed_any(
if (!(p_confirm || (cmdmod.cmod_flags & CMOD_CONFIRM)))
#endif
{
- // There must be a wait_return for this message, do_buffer()
+ // There must be a wait_return() for this message, do_buffer()
// may cause a redraw. But wait_return() is a no-op when vgetc()
// is busy (Quit used from window menu), then make sure we don't
// cause a scroll up.