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

Go API

Go documentation

tmux.Session.ShowEnvironment

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/environment.go
Other languages
PythonRubyLuaTypeScriptRust Java .NET C++ Swift
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.

In other ports Read a session's environment

0 declared, 0 inherited

Esc

Type to search.