Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/lifecycle_kill.go
Other languages
PythonRubyLuaTypeScriptRustJava.NETC++Swift
Kill ( ctx : context.Context ) → error
method [source]
method [source]
Kill

Kill destroys the receiver session and removes its winlinks. Ordinary attached clients detach; on tmux 3.6 or later, clients carrying no-detach-on-destroy move to another session when one exists. A window with no remaining links and all of that window's panes are also destroyed. The materialized receiver is not refreshed. Only stderr makes a completed command a CommandError ; nonzero exits without stderr are ignored. Transport errors are delivery-ambiguous. Kill is equivalent to Session.KillWith with a zero SessionKillRequest .

In other ports End a session

0 declared, 0 inherited

Esc

Type to search.