libtmux Reference MCP Search
On this page

tmux.SessionKillRequest

View as Markdown

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

SessionKillRequest configures kill-session on tmux 3.2a or later. Its zero value destroys the receiver session. AllExcept destroys other sessions instead, while ClearAlerts is non-destructive. AllExcept, ClearAlerts, and Group are mutually exclusive because tmux applies a hidden precedence when more than one mode is supplied; the package rejects those combinations before execution. Group's compatibility behavior is documented on that field.

3 declared, 0 inherited

Members

  • AllExcept attribute AllExcept terminates every other session and detaches their clients while preserving the receiver session.
  • ClearAlerts attribute ClearAlerts clears bell, activity, and silence alerts in every window linked to the receiver without destroying a session or detaching its clients.
  • Group attribute Group terminates every session in the receiver's group and detaches their clients. It requires tmux 3.7; see UnsupportedPolicy.
Esc

Type to search.