From 28d038fb161639e1c083cad3828d76ac6ff74a1f Mon Sep 17 00:00:00 2001 From: Michael Grant Date: Mon, 27 Oct 2025 22:18:07 +0000 Subject: [PATCH] Bugfix calculation error on bottom border when pane border status on and scrollbar enabled. --- screen-redraw.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/screen-redraw.c b/screen-redraw.c index b9ec6ce8..523f5103 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -410,10 +410,7 @@ screen_redraw_check_cell(struct screen_redraw_ctx *ctx, u_int px, u_int py, /* Check if CELL_SCROLLBAR */ 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; /* * Check if py could lie within a scrollbar. If the