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

window.Window.nextLayout

TypeScript

View as Markdown

Module
window
Declared in
Window
Package
libtmux
Source
packages/libtmux/src/window.ts
Other languages
Python Ruby Lua RustGoJava.NETC++Swift
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();
In other ports Apply a window's next layout preset

0 declared, 0 inherited

Esc

Type to search.