aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-01-15 21:19:02 +0100
committerGitHub <noreply@github.com>2019-01-15 21:19:02 +0100
commit279043d62526674118e4ddb531f8cf7195060928 (patch)
tree48f199547fcae24bb52128a388a59038a493994a /src
parent95fa71c6d2b4a2d86bc1e4a984efbd188fab1382 (diff)
parent5a836d4767b76b0a5f5576f91c7022d4e106f814 (diff)
downloadrneovim-279043d62526674118e4ddb531f8cf7195060928.tar.gz
rneovim-279043d62526674118e4ddb531f8cf7195060928.tar.bz2
rneovim-279043d62526674118e4ddb531f8cf7195060928.zip
Merge pull request #9507 from bfredl/noscrollclear
screen: don't unconditionally clear messages on window scroll
Diffstat (limited to 'src')
-rw-r--r--src/nvim/screen.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index da29522b1b..2467cf192f 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -6274,10 +6274,6 @@ static int win_do_lines(win_T *wp, int row, int line_count, int del)
return OK;
}
- // when scrolling, the message on the command line should be cleared,
- // otherwise it will stay there forever.
- check_for_delay(false);
- clear_cmdline = true;
int retval;
if (del) {
retval = grid_del_lines(&wp->w_grid, row, line_count,