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

Go API

Go documentation

tmux.Server.ShowEnvironment

View as Markdown

Module
tmux
Declared in
Server
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 server-global 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.

Discussed in Environment

In other ports Read the server's global environment

0 declared, 0 inherited

Esc

Type to search.