mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Add split-window -Z to start the pane zoomed, GitHub issue 2591.
This commit is contained in:
5
spawn.c
5
spawn.c
@ -261,7 +261,10 @@ spawn_pane(struct spawn_context *sc, char **cause)
|
||||
layout_init(w, new_wp);
|
||||
} else {
|
||||
new_wp = window_add_pane(w, sc->wp0, hlimit, sc->flags);
|
||||
layout_assign_pane(sc->lc, new_wp);
|
||||
if (sc->flags & SPAWN_ZOOM)
|
||||
layout_assign_pane(sc->lc, new_wp, 1);
|
||||
else
|
||||
layout_assign_pane(sc->lc, new_wp, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user