diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-10-05 21:50:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-05 21:50:12 +0200 |
commit | 6ae4a6e0711035a8a0801dd6fdb545e020bccd70 (patch) | |
tree | 0e76ac339ab041a087a623979e8218ec9223d8f1 /src/nvim/normal.c | |
parent | ede85dda2ee23820481d38d0def2d2c83da4e43e (diff) | |
parent | 7746f641b89d1d80b2121980f83ae1f322c30e89 (diff) | |
download | rneovim-6ae4a6e0711035a8a0801dd6fdb545e020bccd70.tar.gz rneovim-6ae4a6e0711035a8a0801dd6fdb545e020bccd70.tar.bz2 rneovim-6ae4a6e0711035a8a0801dd6fdb545e020bccd70.zip |
Merge pull request #20374 from bfredl/notype
screen: refactor old curwin-heavy logic and graduate "msgsep" feature
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 95665053b3..ec89e25b97 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -636,7 +636,7 @@ static void normal_redraw_mode_message(NormalState *s) // Showmode() will clear keep_msg, but we want to use it anyway. // First update w_topline. setcursor(); - update_screen(0); + update_screen(); // now reset it, otherwise it's put in the history again keep_msg = kmsg; @@ -1284,9 +1284,9 @@ static void normal_redraw(NormalState *s) if (VIsual_active) { redraw_curbuf_later(UPD_INVERTED); // update inverted part - update_screen(0); + update_screen(); } else if (must_redraw) { - update_screen(0); + update_screen(); } else if (redraw_cmdline || clear_cmdline || redraw_mode) { showmode(); } @@ -1841,7 +1841,7 @@ bool do_mouse(oparg_T *oap, int c, int dir, long count, bool fixindent) if (jump_flags) { jump_flags = jump_to_mouse(jump_flags, NULL, which_button); redraw_curbuf_later(VIsual_active ? UPD_INVERTED : UPD_VALID); - update_screen(0); + update_screen(); setcursor(); ui_flush(); // Update before showing popup menu } |