1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +03:00
wezterm/docs/config/lua/MuxTab/get_pane_direction.md
Wez Furlong 7d9b842d26
docs: use snippets to make since: nightly more informative
... while also being less to type.
2023-03-19 22:14:05 -07:00

386 B

tab:get_pane_direction(direction)

--8<-- "nightly-only.md"

Returns pane adjacent to the active pane in tab in the direction direction.

Valid values for direction are:

  • "Left"
  • "Right"
  • "Up"
  • "Down"
  • "Prev"
  • "Next"

See ActivatePaneDirection for more information about how panes are selected given direction.