1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-27 07:18:13 +03:00
wezterm/docs/config/lua/keyassignment/SetPaneZoomState.md

15 lines
585 B
Markdown
Raw Normal View History

# SetPaneZoomState(bool)
2022-08-07 23:26:59 +03:00
*Since: 20220807-113146-c2fee766*
Sets the zoom state of the current pane. 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.
See also: [`unzoom_on_switch_pane`](../config/unzoom_on_switch_pane.md),
[TogglePaneZoomState](TogglePaneZoomState.md),
[MuxTab:set_zoomed()](../MuxTab/set_zoomed.md).