libtmux Reference MCP Search
On this page

LibTmux.Window.SwapAsync

View as Markdown

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

Swaps this window with another.

A window linked into several sessions resolves to whichever link tmux picks, because a window identifier does not name one.

Parameters
  • target ( WindowId ) – The window to swap with.

  • detach ( bool ) – Whether the swapped window is left unselected.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

0 declared, 0 inherited

Esc

Type to search.