libtmux Reference MCP Search
On this page

window.Window.move

View as Markdown

Module
window
Declared in
Window
Package
@libtmux/libtmux
Source
packages/libtmux/src/window.ts
move ( options : : MoveWindowOptions = {} ) Promise<void>
method [source]
method [source]
move

Move this window to another session or index without selecting it.

Moves this placement. Sessions that are grouped share one window list, so moving a window they share moves it in all of them; sessions that merely link the same window keep their own lists, and only this one moves.

Examples

await window.move({ index: 3 });

0 declared, 0 inherited

Esc

Type to search.