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

tmux.SelectLayoutRequest

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_layout.go
struct tmux.SelectLayoutRequest
struct [source]
struct [source]
struct tmux.SelectLayoutRequest

SelectLayoutRequest selects one layout operation. Its zero value reapplies the last preset layout. Layout, Spread, Next, and Previous are mutually exclusive and are validated before execution; an empty Layout is omitted rather than passed explicitly. The request contains no retained caller-owned storage and is supported on tmux 3.2a or later.

4 declared, 0 inherited

Members

  • Layout attribute Layout names a preset or supplies a tmux layout string - either the classic checksum-prefixed grammar every supported version accepts, or the JSON shape tmux 3.8+ also accepts, exactly as #{window_layout} reported it; empty selects the zero-value behavior.
  • Next attribute Next selects the next preset layout.
  • Previous attribute Previous selects the previous preset layout.
  • Spread attribute Spread distributes pane space evenly.
Esc

Type to search.