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/quickfix.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/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index eeba7fe3c3..f9d139c466 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -2784,7 +2784,10 @@ static void qf_jump_print_msg(qf_info_T *qi, int qf_index, qfline_T *qf_ptr, buf // Update the screen before showing the message, unless the screen // scrolled up. if (!msg_scrolled) { - update_topline_redraw(); + update_topline(curwin); + if (must_redraw) { + update_screen(); + } } snprintf((char *)IObuff, IOSIZE, _("(%d of %d)%s%s: "), qf_index, qf_get_curlist(qi)->qf_count, |