Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

Unreleased libtmux_erlang has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-erlang latest

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:window_link(), unlink_options()) -> {ok, tmux_operation:completed()} | {error, tmux_operation:failure()}.

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

Equivalents of Unlink a window from a session in other languages
Language Equivalent
Python libtmux.Window.unlink
Lua libtmux.WindowLink:unlink
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript window.Window.unlink
Rust window.Window.unlink
Go tmux.Window.Unlink
Java io.github.libtmux.Window.unlink
C# LibTmux.Window.UnlinkAsync
C++ libtmux::Window::unlink
Swift Server.unlink(_:)
OCaml Libtmux_unix.Client.unlink_window_at
Perl LibTmux::Server::unlink_window 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#.

Esc

Type to search.

Reference previewOpen reference