# tmux.SessionKillRequest

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