libtmux Reference MCP Search
On this page

window.Window.nextLayout

View as Markdown

Module
window
Declared in
Window
Package
@libtmux/libtmux
Source
packages/libtmux/src/window.ts
nextLayout ( ) Promise<void>
method [source]
method [source]
nextLayout

Apply this window's next layout preset.

tmux cycles a fixed list — even-horizontal, even-vertical, main-horizontal, main-vertical, tiled — rearranging the panes already there.

Examples

await window.nextLayout();

0 declared, 0 inherited

Esc

Type to search.