aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-02-02 21:27:09 +0100
committerGitHub <noreply@github.com>2019-02-02 21:27:09 +0100
commit79a0ea2bec7c4a1c82990c07c87098b87bc2a1da (patch)
treeffdf0820ab0b70622d58d40936ac6f0d9e2658fd /src/nvim/message.c
parentf89d0d8230f34dca49eddbea179d274955b572b9 (diff)
parent0f96a21e3fd6ba989e27a992e48c084dd02d8885 (diff)
downloadrneovim-79a0ea2bec7c4a1c82990c07c87098b87bc2a1da.tar.gz
rneovim-79a0ea2bec7c4a1c82990c07c87098b87bc2a1da.tar.bz2
rneovim-79a0ea2bec7c4a1c82990c07c87098b87bc2a1da.zip
Merge pull request #9530 from bfredl/pum_float
Implement popupmenu as a floating grid internally to reduce flicker
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 1330460867..4552999256 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -1960,8 +1960,9 @@ int msg_scrollsize(void)
*/
static void msg_scroll_up(void)
{
- if (msg_scrolled == 0) {
+ if (!msg_did_scroll) {
ui_call_win_scroll_over_start();
+ msg_did_scroll = true;
}
if (dy_flags & DY_MSGSEP) {
if (msg_scrolled == 0) {