tmux_window_link:unlink/2
Remove one checked membership. force defaults false, retaining tmux's protection for windows linked to only one session. force = true permits removing the last link, destroying that physical window and possibly its session. Duplicate links within one session retain tmux's native protection rules. Performs I/O and returns the command result without refreshing rows.
Source and package
- Qualified name
-
tmux_window _link: unlink/2 - Declared in
tmux_window_link- Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_window_link.erl
- Other languages
- Perlmethod PowerShell Julia Elixir Haskell Common Lisp Python Ruby LuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala OCaml F# Clojure
- unlink(Link, Options) -spec unlink(tmux
_model: (), unlinkwindow _link _options ()) -> {ok, tmux_operation: ()} | {error, tmuxcompleted _operation: ()}.failure -
- Parameters
-
-
Options(unlink_options ()) #
tmux command#
The tmux commands behind unlink/2.
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 |
| 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 |
| 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#.