Server.kill_pane
kill_pane(pane => Pane|pane_id).
Source and package
-
Description#
Destroy the selected
LibTmux::Pane. Killing a window's final pane may destroy the physical window and itsLibTmux::WindowLinkassociations. Previously captured records remain readable observations.Returns
undefafter command acceptance. Performs I/O; failures propagate throughLibTmux::X. Captured objects are not modified.$server->kill_pane(pane => $pane);Methods#
tmux command#
The tmux commands behind kill_pane.
display-message (daemon identity or target preflight) kill-pane tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Close a pane
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | pane |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | Libtmux |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.