# tmux.PaneSwapResult

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/window_pane_swap.go#L61
- **Page:** https://libtmux.org/reference/go/tmux-paneswapresult/

PaneSwapResult contains original stable pane identities in their post-swap exact linked-pane views. Its zero value contains no usable endpoints. Target is zero for a directional swap because tmux does not report the adjacent pane identity.

## Members

- `Pane` (attribute) — Pane is the receiver's original PaneID at its post-swap exact view.
- `Target` (attribute) — Target is the explicit target's original PaneID at its post-swap exact view, or zero after a directional swap.
