libtmux Reference MCP Search
On this page

tmux.SessionOptionValues.UpdateEnvironment

View as Markdown

Module
tmux
Declared in
SessionOptionValues
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/option_generated.go
UpdateEnvironment ( ) OptionValue[SparseArray[string]]
method [source]
method [source]
UpdateEnvironment

UpdateEnvironment returns materialized "update-environment" as OptionValue with value type OptionValue[SparseArraystring] from session option values; it does not query tmux. Available as STRING since tmux 3.2a; set it with Session.SetUpdateEnvironment or GlobalSessionScope.SetUpdateEnvironment . Its present SparseArray value preserves assigned tmux indexes, including gaps.

0 declared, 0 inherited

Esc

Type to search.