Bugfix calculation error on bottom border when pane border status on and scrollbar enabled.

This commit is contained in:
Michael Grant 2025-10-27 22:18:07 +00:00
parent 10dc308e6b
commit 28d038fb16

View File

@ -410,9 +410,6 @@ screen_redraw_check_cell(struct screen_redraw_ctx *ctx, u_int px, u_int py,
/* Check if CELL_SCROLLBAR */ /* Check if CELL_SCROLLBAR */
if (window_pane_show_scrollbar(wp, pane_scrollbars)) { if (window_pane_show_scrollbar(wp, pane_scrollbars)) {
if (pane_status == PANE_STATUS_TOP)
line = wp->yoff - 1;
else
line = wp->yoff + wp->sy; line = wp->yoff + wp->sy;
/* /*