libtmux Reference MCP Search
On this page

LibTmux.Window.UnlinkAsync

View as Markdown

Module
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Links.cs
UnlinkAsync ( killIfLast : bool , cancellationToken : CancellationToken ) Task
method [source]
method [source]
UnlinkAsync

Removes this window's link to the session it was read through.

tmux refuses to unlink a window that belongs to only one session unless it is allowed to destroy it.

Parameters
  • killIfLast ( bool ) – Whether the window dies when this was its last link.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

0 declared, 0 inherited

Esc

Type to search.