Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-swift latest

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

Description#

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

Guides#

Pages that discuss current(environment:).

Esc

Type to search.

Reference previewOpen reference