0
0
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:
Bram Moolenaar
2019-06-02 20:33:32 +02:00
parent 1762731f20
commit 98fb65cb05
3 changed files with 15 additions and 1 deletions

View File

@@ -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