fix(float): fix float window border drawing with winbar

This commit is contained in:
zeertzjq
2022-05-27 19:29:42 +08:00
parent 2966cfe21f
commit f7d6f472f7
2 changed files with 47 additions and 1 deletions

View File

@@ -5493,7 +5493,7 @@ static void win_redr_border(win_T *wp)
int *attrs = wp->w_float_config.border_attr;
int *adj = wp->w_border_adj;
int irow = wp->w_height_inner, icol = wp->w_width_inner;
int irow = wp->w_height_inner + wp->w_winbar_height, icol = wp->w_width_inner;
if (adj[0]) {
grid_puts_line_start(grid, 0);