libtmux Reference MCP Search
On this page

TmuxContext.current(environment:)

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.