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

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Window
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/option_read.go
Other languages
PythonRuby Lua TypeScriptRustJava.NETC++Swift
Options ( ctx : context.Context ) → (WindowOptionValues, error)
method [source]
method [source]
Options

Options returns a freshly decoded, caller-owned view of known options at this exact window target, including inherited values. The receiver's exact linked session context controls tmux format evaluation. A read failure is returned rather than answered with zero values. Each returned accessor names the setter that writes it, so WindowOptionValues.MainPaneWidth pairs with Window.SetMainPaneWidth .

In other ports Read the options set on a window

0 declared, 0 inherited

Esc

Type to search.