# tmux.SelectWindowRequest

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/session_navigation.go#L14
- **Page:** https://libtmux.org/reference/go/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.
