mirror of
https://github.com/tmux/tmux.git
synced 2025-12-18 00:02:54 -05:00
Bugfix calculation error on bottom border when pane border status on and scrollbar enabled.
This commit is contained in:
parent
10dc308e6b
commit
28d038fb16
@ -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;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user