mirror of
https://github.com/tmux/tmux.git
synced 2026-10-13 14:24:28 +00:00
Do not create zero size panes, from Uzair Aftab.
This commit is contained in:
1
layout.c
1
layout.c
@@ -461,6 +461,7 @@ layout_fix_panes(struct window *w, struct window_pane *skip)
|
|||||||
layout_add_horizontal_border(w, lc, status)) {
|
layout_add_horizontal_border(w, lc, status)) {
|
||||||
if (status == PANE_STATUS_TOP)
|
if (status == PANE_STATUS_TOP)
|
||||||
wp->yoff++;
|
wp->yoff++;
|
||||||
|
if (sy > 1)
|
||||||
sy--;
|
sy--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user