summaryrefslogtreecommitdiff
path: root/src/move.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-17 20:31:48 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-17 20:31:48 +0200
commitcfce71710b6a2e1fb7f7f27d2a359e4b926f3af9 (patch)
treee9f5fa03d3b04268324bde07d5e87bb3de026369 /src/move.c
parent82de3c2c036bc89c2d9bdea236e0a7f1208a5571 (diff)
downloadvim-git-cfce71710b6a2e1fb7f7f27d2a359e4b926f3af9.tar.gz
patch 8.0.0956: scrolling in a terminal window has flickerv8.0.0956
Problem: Scrolling in a terminal hwindow as flicker when the Normal background differs from the terminal window background. Solution: Set the attribute to clear with.
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/move.c b/src/move.c
index f058b7310..a5ba011ef 100644
--- a/src/move.c
+++ b/src/move.c
@@ -1163,7 +1163,7 @@ curs_columns(
if (extra > 0)
win_ins_lines(curwin, 0, extra, FALSE, FALSE);
else if (extra < 0)
- win_del_lines(curwin, 0, -extra, FALSE, FALSE);
+ win_del_lines(curwin, 0, -extra, FALSE, FALSE, 0);
}
else
curwin->w_skipcol = 0;