aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-05-31 16:12:00 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-06-02 09:39:39 +0200
commit1efe65a1557268496cb0431edce5010fe0a91565 (patch)
tree32c998212ba893797dee1b144b80e59c2213be34 /src
parent39a03c0fe736629cf7804dbaf9b73df60aa237cd (diff)
downloadrneovim-1efe65a1557268496cb0431edce5010fe0a91565.tar.gz
rneovim-1efe65a1557268496cb0431edce5010fe0a91565.tar.bz2
rneovim-1efe65a1557268496cb0431edce5010fe0a91565.zip
ex_getln: don't redraw statusline on top of scrolled messages
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index f62b0a2060..377ca3ddbe 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -349,7 +349,7 @@ static uint8_t *command_line_enter(int firstc, long count, int indent)
// redraw the statusline for statuslines that display the current mode
// using the mode() function.
- if (KeyTyped) {
+ if (KeyTyped && msg_scrolled == 0) {
curwin->w_redr_status = true;
redraw_statuslines();
}