forked from aniani/vim
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.
This commit is contained in:
@@ -2313,7 +2313,7 @@ msg_scroll_up(void)
|
||||
gui_undraw_cursor();
|
||||
#endif
|
||||
/* scrolling up always works */
|
||||
screen_del_lines(0, 0, 1, (int)Rows, TRUE, NULL);
|
||||
screen_del_lines(0, 0, 1, (int)Rows, TRUE, 0, NULL);
|
||||
|
||||
if (!can_clear((char_u *)" "))
|
||||
{
|
||||
@@ -2905,7 +2905,7 @@ do_more_prompt(int typed_char)
|
||||
}
|
||||
|
||||
if (toscroll == -1 && screen_ins_lines(0, 0, 1,
|
||||
(int)Rows, NULL) == OK)
|
||||
(int)Rows, 0, NULL) == OK)
|
||||
{
|
||||
/* display line at top */
|
||||
(void)disp_sb_line(0, mp);
|
||||
|
Reference in New Issue
Block a user