1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 13:52:55 +03:00
wezterm/docs/config/lua/MuxTab/panes_with_info.md

22 lines
888 B
Markdown
Raw Normal View History

# tab:panes_with_info()
2022-08-07 23:26:59 +03:00
*Since: 20220807-113146-c2fee766*
Returns an array table containing an extended info entry for each of the panes
contained by this tab.
Each element is a lua table with the following fields:
* `index` - the topological pane index
* `is_active` - a boolean indicating whether this is the active pane withing the tab
* `is_zoomed` - a boolean indicating whether this pane is zoomed
* `left` - The offset from the top left corner of the containing tab to the top left corner of this pane, in cells.
* `top` - The offset from the top left corner of the containing tab to the top left corner of this pane, in cells.
* `width` - The width of this pane in cells
* `height` - The height of this pane in cells
* `pixel_width` - The width of this pane in pixels
* `pixel_height` - The height of this pane in pixels
2022-07-19 17:17:12 +03:00
* `pane` - The [MuxPane](../MuxPane/index.md) object