tmux.Session.KillWindow
- Module
- tmux
- Declared in
- Session
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/lifecycle_kill.go
- Other languages
- Python Ruby Lua TypeScript Rust Java .NET C++ Swift
- KillWindow ( ctx : context.Context , request : KillWindowRequest ) error
-
KillWindow destroys one stable window. When Target and Index are nil it selects the receiver session's current window, and Index selects a winlink in that session. A nonnil Target is forwarded as unrestricted tmux target syntax and may select a window in another session. The selected stable window is removed from every session and its panes are destroyed. 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.Killdescribes how tmux handles its clients.Target and Index are mutually exclusive. The receiver is not refreshed. Only stderr makes a completed command a
CommandError; nonzero exits without stderr are ignored. Transport errors are delivery-ambiguous.In other ports Close a window named from its session
- Python
libtmux.Session.kill_window - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript no equivalent on
Session - Rust no equivalent on
Session - Java no equivalent on
Session - .NET
LibTmux.Session.KillWindowAsync - C++ no equivalent on
Session - Swift no equivalent on
Session
- Python
0 declared, 0 inherited