Do not create zero size panes, from Uzair Aftab.

This commit is contained in:
nicm
2026-07-06 11:28:39 +00:00
parent 699b18414d
commit d565fd3b54

View File

@@ -461,7 +461,8 @@ layout_fix_panes(struct window *w, struct window_pane *skip)
layout_add_horizontal_border(w, lc, status)) {
if (status == PANE_STATUS_TOP)
wp->yoff++;
sy--;
if (sy > 1)
sy--;
}
if (window_pane_scrollbar_reserve(wp)) {