libtmux Reference MCP Search
On this page

tmux.SwapWindowRequest

View as Markdown

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

SwapWindowRequest configures swapping the receiver with one exact winlink on tmux 3.2a or later. Its zero value is invalid because Target must be a complete Window handle. The endpoints must be proven to share a daemon through connection state or the same nonempty SocketPath; matching socket names alone are insufficient. Validation completes before execution.

2 declared, 0 inherited

Members

  • Detach attribute Detach leaves the affected sessions' current-window selection unchanged.
  • Target attribute Target is the exact other winlink to swap with the receiver.
Esc

Type to search.