# tmux.SelectWindowRequest

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/session_navigation.go#L14
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-selectwindowrequest/

SelectWindowRequest selects one winlink in a [Session] on tmux 3.2a or later. Its zero value is invalid: exactly one of WindowID and Index is required. That mutual exclusion, stable-ID syntax, and a nonnegative Index are validated before execution. Index is read during the call and is not retained; nil omits it, a nonnil pointer is explicit, and callers must not mutate it concurrently.

## Members

- `WindowID` (attribute): WindowID selects a stable window linked into the receiver session.
- `Index` (attribute): Index selects a nonnegative winlink index in the receiver session.
