libtmux Reference MCP Search
On this page

tmux.KillWindowRequest

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/lifecycle_kill.go
struct tmux.KillWindowRequest
struct [source]
struct [source]
struct tmux.KillWindowRequest

KillWindowRequest selects a window for Session.KillWindow on tmux 3.2a or later. A zero request kills the receiver session's current window, and Index is scoped to that session. Target is unrestricted tmux target syntax and may select a window in another session. Target and Index are mutually exclusive and are checked before execution. Pointer values are read during the call and are not retained; callers must not mutate them concurrently. A nil pointer omits its selector, while a nonnil pointer is explicit even when Target points to an empty string.

2 declared, 0 inherited

Members

  • Index attribute Index selects a winlink index within the receiver session when nonnil.
  • Target attribute Target is passed through as unrestricted tmux target syntax when nonnil.
Esc

Type to search.