Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

method libtmux-dotnet latest

Window.MoveAsync

Namespace LibTmux.Window.MoveAsync LibTmux

Moves this window to another index or session.

View as Markdown

Source and package
Module
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Move.cs
Other languages
Python Ruby LuaTypeScriptRustGoJavaC++Swift Kotlin Scala F#
MoveAsync ( request : MoveWindowRequest , cancellationToken : CancellationToken ) → Task<Window>
methodasync [source]

Description#

A renumber request preserves placement order and returns this link at its new index; renumbering another session leaves this link in place. A guard in the native queue checks that the captured session/index still names this window before the mutation. Reads before and after the command detect inconsistent placement changes, but do not make the operation atomic. A failed readback reports unknown dispatch state: the move already succeeded and must not be retried.

Parameters
Returns

A replacement handle carrying the affected placement.

tmux command move-window

In other ports Move a window to another session or index
Esc

Type to search.