# tmux.WindowSelectPaneRequest

- **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_topology.go#L61
- **Page:** https://libtmux.org/reference/go/tmux-windowselectpanerequest/

WindowSelectPaneRequest selects either one exact pane or one relative pane. Its zero value is invalid: exactly one of Target and Direction is required. Target must be a complete pane handle in the receiver's exact winlink and must be proven to share a daemon through connection state or the same nonempty SocketPath; matching socket names alone are insufficient. Invalid values are rejected before execution.

## Members

- `Target` (attribute) — Target selects one exact pane in the receiver winlink; a zero Pane omits this choice.
- `Direction` (attribute) — Direction selects a pane relative to the receiver window's active pane; zero omits this choice.
- `KeepZoom` (attribute) — KeepZoom preserves the window's zoomed state.
