LibTmux.Window.SwapAsync
- 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
-
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
- Python
libtmux.Window.swap - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.WindowLink:swap - TypeScript
window.Window.swapWith - Rust
window.Window.swap_with - Go
tmux.Window.Swap - Java no equivalent on
Window - C++
libtmux::Window::swap_with - Swift
Server.swap(_:with:)
0 declared, 0 inherited