mirror of
https://github.com/tmux/tmux.git
synced 2026-06-20 17:25:57 +00:00
Add pane-border-lines none like popups (-B to new-pane).
This commit is contained in:
3
layout.c
3
layout.c
@@ -712,7 +712,8 @@ layout_resize_floating_pane_to(struct window_pane *wp, enum layout_type type,
|
||||
return;
|
||||
}
|
||||
|
||||
if (size >= PANE_MINIMUM + 2)
|
||||
if (window_pane_get_pane_lines(wp) != PANE_LINES_NONE &&
|
||||
size >= PANE_MINIMUM + 2)
|
||||
size -= 2;
|
||||
if (size < PANE_MINIMUM || size > PANE_MAXIMUM) {
|
||||
*cause = xstrdup("size is too big or too small");
|
||||
|
||||
Reference in New Issue
Block a user