libtmux Reference MCP Search
On this page

tmux.Session.ShowEnvironment

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/environment.go
ShowEnvironment ( ctx : context.Context ) (map[string]EnvironmentValue, error)
method [source]
method [source]
ShowEnvironment

ShowEnvironment returns an owned session-scoped non-hidden tmux environment. Completed command failures return an empty map unless strict errors are enabled. Externally injected multiline entries return ErrMalformedEnvironment because tmux's multi-entry output does not frame continuation lines. Decode errors are compatible with ErrMalformedEnvironment and return no partial map.

0 declared, 0 inherited

Esc

Type to search.