Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

struct libtmux-go latest

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.SessionKillRequest
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/lifecycle_kill.go
struct tmux.SessionKillRequest

Fields3#

SessionKillRequest fields
NameTypeDescription
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.
Esc

Type to search.

Reference previewOpen reference