1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 06:12:16 +03:00
wezterm/docs/config/lua/MuxTab/panes_with_info.md
2022-09-11 07:21:54 -07:00

882 B

tab:panes_with_info()

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
  • pane - The Pane object