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
Window
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 stable window selected by the receiver's WindowID, removes all of its winlinks, and destroys its panes. Affected sessions preserve their current selection unless this window was current, in which case they select another. A session left without windows is destroyed; Session.Kill describes how tmux handles its clients. The receiver is not refreshed. Only stderr makes a completed command a CommandError ; nonzero exits without stderr are ignored.

In other ports Close a window

0 declared, 0 inherited

Esc

Type to search.