SessionOptionValues.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; set it with Session.SetUpdateEnvironment or GlobalSessionScope.SetUpdateEnvironment. Its present SparseArray value preserves assigned tmux indexes, including gaps.
Source and package
- Qualified name
-
tmux.Session Option Values. Update Environment - Package
- tmux
- Declared in
SessionOptionValues- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go
- func ( v Session
Option , ) UpdateEnvironment() OptionValues Value [SparseArray [string]]
tmux options#
Settings for the server, sessions, windows and panes, with their types, defaults and allowed values.