tmux.Server.ShowEnvironment
- 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)
-
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
ErrMalformedEnvironmentand return no partial map.Discussed in Environment
In other ports Read the server's global environment
- Python
libtmux.Server.show_environment - Ruby
LibTmux::Server#environment - Lua
libtmux.Server:list_environment - TypeScript
server.Server.showEnvironment - Rust
server.Server.environment - Java no equivalent on
Server - .NET
LibTmux.Server.Environment - C++ no equivalent on
Server - Swift
Server.environment(_:)
- Python
0 declared, 0 inherited