MuxTab and Tab refer to the same object. See the Tab Object documentation for the complete API reference.MuxTab object represents a tab managed by the WezTerm multiplexer. This is the same object as the Tab object in these documentation pages.
Quick Links
- Tab Object Documentation - Complete API reference
- Pane Object - Documentation for panes within tabs
- MuxWindow Object - Documentation for windows containing tabs
Common Methods
Here are some of the most commonly used methods:Navigation
tab:tab_id()- Get the tab’s unique identifiertab:window()- Get the containing windowtab:active_pane()- Get the active panetab:panes()- Get all panes in the tabtab:panes_with_info()- Get panes with layout information
Title Management
tab:get_title()- Get the tab titletab:set_title(title)- Set the tab title
Layout Control
tab:set_zoomed(zoomed)- Zoom or unzoom the active panetab:get_size()- Get the tab dimensionstab:rotate_clockwise()- Rotate panes clockwisetab:rotate_counter_clockwise()- Rotate panes counter-clockwise
Activation
tab:activate()- Make this tab active