diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-29 15:06:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-29 15:06:50 +0100 |
commit | 13608d851a0470ced30921428b3313c023d395d8 (patch) | |
tree | 2e15e6c6a263703e8e293df3e852f6dbc9c092f0 /src/main.c | |
parent | b13d3405fffae1115acc1433479b616f30e292e5 (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/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index f4db631a31..7a42463ba3 100644 --- a/src/main.c +++ b/src/main.c @@ -651,7 +651,7 @@ vim_main2(void) /* * When done something that is not allowed or given an error message call - * wait_return. This must be done before starttermcap(), because it may + * wait_return(). This must be done before starttermcap(), because it may * switch to another screen. It must be done after settmode(TMODE_RAW), * because we want to react on a single key stroke. * Call settmode and starttermcap here, so the T_KS and T_TI may be @@ -1226,7 +1226,7 @@ main_loop( did_check_timestamps = FALSE; if (need_check_timestamps) check_timestamps(FALSE); - if (need_wait_return) // if wait_return still needed ... + if (need_wait_return) // if wait_return() still needed ... wait_return(FALSE); // ... call it now if (need_start_insertmode && goto_im() && !VIsual_active) { |