Server.kill_window
kill_window(window => Window|window_id).
Source and package
-
Description#
Destroy the physical
LibTmux::Windowand everyLibTmux::WindowLinkreferring to it. Use"unlink_window"when removing one association is the intended effect.Returns
undefafter command acceptance. Performs I/O; failures propagate throughLibTmux::X. Captured objects are not modified.$server->kill_window(window => $window);Methods#
tmux command#
The tmux commands behind kill_window.
display-message (daemon identity or target preflight) kill-window tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Close a window
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Erlang | tmux Removes the physical window and its memberships. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | window |
| Rust | window |
| 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#.