Server.unlink_window
unlink_window(link => WindowLink|session_id:index).
Source and package
-
Description#
Remove exactly one
LibTmux::WindowLink, given a captured link or session_id:index string. Removing the final link can destroy its physical window; other linked associations retain their context.Returns
undefafter command acceptance. Performs I/O; failures propagate throughLibTmux::X. Captured objects are not modified.$server->unlink_window(link => $link);Methods#
tmux command#
The tmux commands behind unlink_window.
display-message (daemon identity or target preflight) unlink-window tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Unlink a window from a session
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| Erlang | tmux Acts on one session-relative membership. |
| 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 Ruby, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.