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

libtmux::Window::next_layout

View as Markdown

Module
libtmux
Declared in
Window
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
Other languages
Python Ruby Lua TypeScriptRustGoJava.NETSwift
next_layout ( ) → expected< void, CommandFailure >
methodreadonly [source]
methodreadonly [source]
next_layout

Step through tmux's preset arrangements, and turn the panes within the one in use.

The layouts are tmux's list, not a caller's: asking for "the next one" is the only way to reach them without naming each. Rotating is a different act — it moves which pane occupies which cell and leaves the cells where they are.

None of the three refuses a window holding a single pane. tmux accepts all of them there and changes nothing, which is worth knowing before treating success as evidence that something moved.

In other ports Apply a window's next layout preset

0 declared, 0 inherited

Esc

Type to search.