TmuxContext.current(environment:)
The context of the tmux this process is running inside, or nil when it is not running inside one.
Source and package
- Qualified name
-
TmuxContext. current(environment:) - Declared in
TmuxContext- Package
- libtmux-swift
- Source
- Sources/LibTmux/TmuxContext.swift
- current(environment: [String: String]) -> Tmux
Context ? -
Description#
- Parameter environment: where to read
TMUXfrom. Injectable so that a caller — or a test — can ask about an environment other than its own.
- Parameters
-
-
environment([String: String]) #
-
- Parameter environment: where to read
Guides#
Pages that discuss current(environment:).