libtmux Reference MCP Search
On this page

TmuxContext.init(parsing:)

View as Markdown

Declared in
TmuxContext
Package
libtmux-swift
Source
Sources/LibTmux/TmuxContext.swift
init(parsing:) ( parsing : String )
method [source]
method [source]
init(parsing:)

Reads the value tmux puts in $TMUX.

Returns nil for anything that is not that shape, including an empty string: a process not started by tmux has no context to report, and inventing one would point at a server that may not exist.

0 declared, 0 inherited

Esc

Type to search.