mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.1.1456: WinBar not redrawn after scrolling one line
Problem: WinBar not redrawn after scrolling one line. Solution: Exclude the winbar height when deciding what to redraw. (closes #4473)
This commit is contained in:
@@ -645,7 +645,7 @@ update_screen(int type_arg)
|
||||
type = CLEAR;
|
||||
FOR_ALL_WINDOWS(wp)
|
||||
{
|
||||
if (W_WINROW(wp) < msg_scrolled)
|
||||
if (wp->w_winrow < msg_scrolled)
|
||||
{
|
||||
if (W_WINROW(wp) + wp->w_height > msg_scrolled
|
||||
&& wp->w_redr_type < REDRAW_TOP
|
||||
|
Reference in New Issue
Block a user