Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

LibTmux.Window.SwapAsync

View as Markdown

Module
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Links.cs
Other languages
Python Ruby LuaTypeScriptRustGo Java C++Swift
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.

In other ports Exchange two windows

0 declared, 0 inherited

Esc

Type to search.