libtmux Reference MCP Search
On this page

PaneDirection

View as Markdown

Package
libtmux-swift
Source
Sources/LibTmux/Creation.swift
enum PaneDirection : enum PaneDirection
enum [source]
enum [source]
enum PaneDirection

Where a split puts the pane it creates.

Named for where the new pane ends up, not for the axis it divides: left and right both split side by side, and which one you get is the whole question a caller has. tmux spells the other two as one flag and a modifier, which is why "vertical" alone cannot say whether the pane appears above or below.

6 declared, 0 inherited

Members

  • above constant Stacked over the existing pane. split-window -v -b.
  • below constant Stacked under the existing pane, which is tmux's own default.
  • left constant Beside the existing pane, on its left. split-window -h -b.
  • right constant Beside the existing pane, on its right. split-window -h.
  • !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
  • init(from:) method Creates a new instance by decoding from the given decoder.
Esc

Type to search.