Window.unlink
Remove this session's link to the window, leaving other links intact.
Source and package
-
Description#
Errors
Returns an error when tmux refuses the command, which includes unlinking a window that only one session holds.
tmux command#
The tmux commands behind unlink.
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 |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | Libtmux |
| Perl | Lib Requires an explicit WindowLink or session_id:index context; a physical window alone does not select a session placement. |
No equivalent is recorded in Ruby, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.