WindowLink.unlink/3
Removes one observed session/index/window binding.
Source and package
- Qualified name
-
LibTmux .Window Link. unlink/3 - Module
- LibTmux
- Declared in
WindowLink- Package
- libtmux
- Source
- lib/libtmux/entities.ex
- unlink(connection, ref, options \\ []) @spec unlink(Lib
Tmux (), Lib.Action .connection Tmux (), [ Lib.Ref .t Tmux () ]) :: {:ok, LibTmux.Action.result(:ok)} | {:error, Lib.Action .membership _option Tmux ()}.Action .error -
Description
tmux checks the full tuple and unlinks in the same command queue. A missing or reoccupied slot returns
:stale_target. tmux refuses removal of the physical window's final link, and may close a session that loses its sole window while the window remains linked elsewhere.This action uses a Server with the usual incarnation check/use race. A Control connection returns
:unsupported_transport. A grouped session returns:grouped_session, since unlinking would also change its peers. The default timeout is 5000ms. A newly created binding with the same tuple is indistinguishable from the original.See the worked example.
- Parameters
-
-
ref(LibTmux ()).Ref .t -
options([LibTmux ()]).Action .membership _option Default
[]
Recorded calls
source callsThe Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.WindowLink.unlink/3.