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

Go API

Go documentation

tmux.Session.GetEnvironment

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/environment.go
Other languages
Python Ruby Lua TypeScriptRust Java .NET C++ Swift
GetEnvironment ( ctx : context.Context , name : string ) → (EnvironmentValue, bool, error)
method [source]
method [source]
GetEnvironment

GetEnvironment returns one non-hidden session environment entry for this stable session target. A missing or hidden variable reports ok false.

In other ports Read one variable from a session's environment
  • Python no single-variable read; the whole table is returned
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript session.Session.getEnvironment
  • Rust session.Session.environment
  • Java no single-variable read; the whole table is returned
  • .NET no single-variable read; the whole table is returned
  • C++ no single-variable read; the whole table is returned
  • Swift no single-variable read; the whole table is returned

0 declared, 0 inherited

Esc

Type to search.