# tmux.SessionKillRequest

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

## 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.
