1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 06:12:16 +03:00
wezterm/docs/config/lua/MuxTab/set_zoomed.md

18 lines
599 B
Markdown
Raw Normal View History

# tab:set_zoomed(bool)
{{since('20220807-113146-c2fee766')}}
Sets the zoomed state for the active pane within this tab.
A zoomed pane takes up all available space in the tab, hiding all other panes
while it is zoomed. Switching its zoom state off will restore the prior split
arrangement.
Setting the zoom state to true zooms the pane if it wasn't already zoomed.
Setting the zoom state to false un-zooms the pane if it was zoomed.
Returns the prior zoom state.
See also: [`unzoom_on_switch_pane`](../config/unzoom_on_switch_pane.md),
[SetPaneZoomState](../keyassignment/SetPaneZoomState.md).