Mercurial > vim
diff src/proto/screen.pro @ 12152:69af108df70e v8.0.0956
patch 8.0.0956: scrolling in a terminal window has flicker
commit https://github.com/vim/vim/commit/cfce71710b6a2e1fb7f7f27d2a359e4b926f3af9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 17 20:31:48 2017 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 17 Aug 2017 20:45:04 +0200 |
parents | 3b2afa2b77b3 |
children | d0b039e2ed56 |
line wrap: on
line diff
--- a/src/proto/screen.pro +++ b/src/proto/screen.pro @@ -45,9 +45,9 @@ void screen_start(void); void windgoto(int row, int col); void setcursor(void); int win_ins_lines(win_T *wp, int row, int line_count, int invalid, int mayclear); -int win_del_lines(win_T *wp, int row, int line_count, int invalid, int mayclear); -int screen_ins_lines(int off, int row, int line_count, int end, win_T *wp); -int screen_del_lines(int off, int row, int line_count, int end, int force, win_T *wp); +int win_del_lines(win_T *wp, int row, int line_count, int invalid, int mayclear, int clear_attr); +int screen_ins_lines(int off, int row, int line_count, int end, int clear_attr, win_T *wp); +int screen_del_lines(int off, int row, int line_count, int end, int force, int attr, win_T *wp); int showmode(void); void unshowmode(int force); void clearmode(void);