libtmux Reference MCP Search
On this page

window.Window.rotate

View as Markdown

Module
window
Declared in
Window
Package
@libtmux/libtmux
Source
packages/libtmux/src/window.ts
rotate ( direction : : "forward" | "backward" = "forward" ) Promise<void>
method [source]
method [source]
rotate

Rotate the panes within this window.

The layout stays put and the panes move through it, so this reorders what occupies each position rather than trading two panes.

Examples

await window.rotate("forward");

0 declared, 0 inherited

Esc

Type to search.