Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

property libtmux-dotnet

Session.Environment

Gets the environment panes created in this session inherit from.

Source and package
Qualified name
LibTmux.Session.Environment
Namespace
LibTmux
Declared in
Session
Package
LibTmux
Source
src/LibTmux/Session.Scopes.cs

In other ports

task equivalence 9 other ports mapped

Source-verified mappings for Read a session's environment. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Read a session's environment in each port
PortAPIDiffers from C#
C# LibTmux.Session.Environment
Gets the environment panes created in this session inherit from.
This page
Python libtmux.Session.show_environment
Show environment $ tmux show-environment -t [session].
None recorded in the model
Ruby LibTmux::Session#environment
Behavior: Environment.
None recorded in the model
Lua libtmux.Session:list_environment None recorded in the model
TypeScript session.Session.showEnvironment
Every variable in this session's environment.
None recorded in the model
Rust session.Session.environment
Read one variable from the session's environment.
async
Go tmux.Session.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.
None recorded in the model
Swift Server.environment(_:)
Every variable in an environment, in the order tmux printed them.
async
OCaml Libtmux_unix.Client.capture_environment
Acquire a bounded table through a read-only command process. Its response must identify the bound daemon while the original pidfd remains live. Unsupported external variable names fail decoding; they are not omitted.
Pass Environment.Global for server values or Environment.Session with a bound session target. Acquisition is explicit.
Raku LibTmux::Configuration::Environment.list
Capture normal entries, or only hidden entries when requested explicitly.
Use the corresponding server or session environment facade.
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No Java equivalent.

no equivalent on Session

No C++ equivalent.

no equivalent on Session

No Perl equivalent.

No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc
Search in

Type to search.

Reference previewOpen reference