libtmux Reference MCP Search
On this page

window.Window.next_layout

View as Markdown

Module
window
Declared in
Window
Package
libtmux
Source
crates/libtmux/src/window.rs
next_layout ( mut ) Result<&mut Self, Error>
method [source]
method [source]
next_layout

Move to the next named layout, and return the window.

tmux steps through its own list rather than taking a name, so this is a flag on select-layout and not something Window::select_layout could express.

Errors

Returns an error when tmux refuses the command.

0 declared, 0 inherited

Esc

Type to search.