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

TmuxContext.current(environment:)

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

View as Markdown

Declared in
TmuxContext
Package
libtmux-swift
Source
Sources/LibTmux/TmuxContext.swift
current(environment:) ( environment : [String : String] ) → TmuxContext?
methodstatic [source]
methodstatic [source]
current(environment:)

The context of the tmux this process is running inside, or nil when it is not running inside one.

  • Parameter environment: where to read $TMUX from. Injectable so that a caller — or a test — can ask about an environment other than its own.

Discussed in Environment

0 declared, 0 inherited

Esc

Type to search.