Pane.kill
Kill Pane .
Source and package
-
Description#
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.panesTrue- Parameters
-
-
all_except(bool | None) #
-
tmux command
kill-paneIn other ports Close a pane
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby
- Lua
- TypeScript
- Rust
- Go
- Java
- C#
- C++
- Swift
- Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.