1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-29 16:42:13 +03:00
wezterm/docs/config/lua/MuxTab/get_pane_direction.md
2023-03-20 21:29:43 -07:00

399 B

tab:get_pane_direction(direction)

{{since('20230320-124340-559cb7b0')}}

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.