# tmux.WindowSelectPaneRequest

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