Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

TmuxContext.init(parsing:)

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

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.