Window.Unlink
Unlink removes the receiver's exact session winlink without refreshing the materialized receiver. Without KillIfLast, tmux rejects removal of a stable window's only link; with it, that window is destroyed. A transport or context error can be delivery-ambiguous; the void result cannot carry partial identity and no rollback is attempted.
Source and package
- Qualified name
-
tmux.Window. Unlink - Package
- tmux
- Declared in
Window- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/window_link_move.go
- Other languages
- Perlmethod Erlangfunction PowerShell Julia Elixir Haskell Common Lisp Python Ruby LuaTypeScriptRustJavaC#C++Swift Kotlin Scala OCaml F# Clojure
- func (w Window) Unlink( ctx context
.Context , request UnlinkWindow , ) errorRequest -
- Parameters
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 |
| Rust | window |
| 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#.