SessionKillRequest
SessionKillRequest configures kill-session on tmux 3.3a 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.
Source and package
- Qualified name
-
tmux.Session Kill Request - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/lifecycle_kill.go
Fields3#
| Name | Type | Description |
|---|---|---|
| AllExcept | bool | AllExcept terminates every other session and detaches their clients while preserving the receiver session. |
| ClearAlerts | bool | ClearAlerts clears bell, activity, and silence alerts in every window linked to the receiver without destroying a session or detaching its clients. |
| Group | bool | Group terminates every session in the receiver's group and detaches their clients. It requires tmux 3.7; see UnsupportedPolicy. |