libtmux Reference MCP Search
On this page

tmux.Server.KillSession

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/lifecycle_kill.go
KillSession ( ctx : context.Context , target : string ) error
method [source]
method [source]
KillSession

KillSession terminates the session selected by tmux target syntax. Pattern and prefix matching are deliberately left to tmux. Completed nonzero exits without stderr are ignored. Transport and context errors are delivery-ambiguous.

0 declared, 0 inherited

Esc

Type to search.