On this page
TmuxContext.current(environment:)
- Declared in
- TmuxContext
- Package
- libtmux-swift
- Source
- Sources/LibTmux/TmuxContext.swift
- current(environment:) ( environment : [String : String] ) TmuxContext?
-
The context of the tmux this process is running inside, or
nilwhen it is not running inside one.- Parameter environment: where to read
$TMUXfrom. Injectable so that a caller — or a test — can ask about an environment other than its own.
Discussed in Environment
- Parameter environment: where to read
0 declared, 0 inherited