Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

method libtmux-go latest

SelectLayoutRequest.Validate

Validate checks mode exclusivity, NUL bytes, candidate preset names and classic checksummed syntax and JSON envelopes without running tmux. Its zero value is valid. Invalid requests match ErrInvalidServerCommandRequest . Names and abbreviations valid on any supported tmux are accepted here; execution checks daemon support. tmux validates JSON contents, geometry and live pane counts when applying it.

Source and package
Qualified name
tmux.SelectLayoutRequest.Validate
Package
tmux
Declared in
SelectLayoutRequest
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_layout.go
func (request SelectLayoutRequest) Validate() error
Esc

Type to search.

Reference preview Open reference