Add split-window -Z to start the pane zoomed, GitHub issue 2591.

This commit is contained in:
nicm
2021-03-11 06:31:05 +00:00
parent 7f87280cd5
commit d98f9f7fe5
14 changed files with 51 additions and 37 deletions

View File

@ -160,7 +160,7 @@ layout_set_even(struct window *w, enum layout_type type)
/* Fix cell offsets. */
layout_fix_offsets(w);
layout_fix_panes(w);
layout_fix_panes(w, NULL);
layout_print_cell(w->layout_root, __func__, 1);
@ -270,7 +270,7 @@ layout_set_main_h(struct window *w)
/* Fix cell offsets. */
layout_fix_offsets(w);
layout_fix_panes(w);
layout_fix_panes(w, NULL);
layout_print_cell(w->layout_root, __func__, 1);
@ -368,7 +368,7 @@ layout_set_main_v(struct window *w)
/* Fix cell offsets. */
layout_fix_offsets(w);
layout_fix_panes(w);
layout_fix_panes(w, NULL);
layout_print_cell(w->layout_root, __func__, 1);
@ -477,7 +477,7 @@ layout_set_tiled(struct window *w)
/* Fix cell offsets. */
layout_fix_offsets(w);
layout_fix_panes(w);
layout_fix_panes(w, NULL);
layout_print_cell(w->layout_root, __func__, 1);