# tmux.PaneSwapResult

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/window_pane_swap.go#L61
- **Page:** https://libtmux.org/en/go/latest/reference/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.
