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.

Swift API

method libtmux-swift latest

Server.environmentValue(_:in:)

What one variable is set to, or nil when it is unset or marked for removal.

Source and package
Qualified name
Server.environmentValue(_:in:)
Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Environment.swift
environmentValue(name: String, in: EnvironmentScope) -> String?

Description#

Reads one value directly so embedded newlines remain part of that value. tmux's nonzero response for an unknown name becomes nil.

Parameters
Raises

tmux command#

The tmux commands behind environmentValue(_:in:).

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference