- 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
-
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 toSession.KillWithwith a zeroSessionKillRequest.In other ports End a session
- Python
libtmux.Session.kill - Ruby
LibTmux::Session#kill - Lua
libtmux.Session:kill - TypeScript
session.Session.kill - Rust
session.Session.kill - Java
io.github.libtmux.Session.Session.kill - .NET
LibTmux.Session.KillAsync - C++
libtmux::Session::kill - Swift
Server.kill(_:)
- Python
0 declared, 0 inherited