libtmux Reference MCP Search
On this page

tmux.SwapPaneRequest

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_pane_swap.go
struct tmux.SwapPaneRequest
struct [source]
struct [source]
struct tmux.SwapPaneRequest

SwapPaneRequest configures swapping with an exact or adjacent pane on tmux 3.2a or later. Its zero value is invalid: exactly one complete Target or Direction is required. An explicit Target must differ from the receiver and must be proven to share a daemon through connection state or the same nonempty SocketPath; matching socket names alone are insufficient. Invalid choices are rejected before execution.

4 declared, 0 inherited

Members

  • Detach attribute Detach leaves the active-pane selection unchanged.
  • Direction attribute Direction selects an adjacent pane; zero omits it.
  • KeepZoom attribute KeepZoom preserves the affected window's zoomed state.
  • Target attribute Target selects an exact other pane; a zero Pane omits it.
Esc

Type to search.