- Module
- libtmux
- Declared in
- Pane
- Package
- libtmux
- Source
- src/libtmux/pane.py
- Other languages
- RubyLuaTypeScriptRustGoJava.NETC++Swift
-
Kill
Pane.$ tmux kill-pane.In other ports Close a pane
- Ruby
LibTmux::Pane#kill - Lua
libtmux.Pane:kill - TypeScript
pane.Pane.kill - Rust
pane.Pane.kill - Go
tmux.Pane.Kill - Java
io.github.libtmux.Pane.Pane.kill - .NET
LibTmux.Pane.KillAsync - C++
libtmux::Pane::kill - Swift
Server.kill(_:)
- Ruby
Examples
Kill a pane:
>>> pane_1 = pane.split()>>> pane_1 in window.panesTrue>>> pane_1.kill()>>> pane_1 not in window.panesTrueKill all panes except the current one:
>>> pane.window.resize(height=100, width=100)Window(@1 1...)>>> one_pane_to_rule_them_all = pane.split()>>> other_panes = pane.split(... ), pane.split()>>> all([p in window.panes for p in other_panes])True>>> one_pane_to_rule_them_all.kill(all_except=True)>>> all([p not in window.panes for p in other_panes])True>>> one_pane_to_rule_them_all in window.panesTrueawait pane.kill();0 declared, 0 inherited