libtmux Reference MCP Search
On this page

tmux.SelectWindowRequest

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/session_navigation.go
struct tmux.SelectWindowRequest
struct [source]
struct [source]
struct 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.

2 declared, 0 inherited

Members

  • Index attribute Index selects a nonnegative winlink index in the receiver session.
  • WindowID attribute WindowID selects a stable window linked into the receiver session.
Esc

Type to search.