Skip to content

tab:get_pane_direction(direction)

Since: Version 20230320-124340-559cb7b0

The functionality described in this section requires version 20230320-124340-559cb7b0 of wezterm, or a more recent version.

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.