From cfce71710b6a2e1fb7f7f27d2a359e4b926f3af9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 17 Aug 2017 20:31:48 +0200 Subject: patch 8.0.0956: scrolling in a terminal window has flicker 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. --- src/move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/move.c') 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; -- cgit v1.2.1