MCPconceptAPI 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.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

LibTmux.Mcp.EnvironmentEntry

public sealed record EnvironmentEntry( string Name, string? Value, bool IsRemoved, bool HasValue, bool Withheld );

One variable in tmux's environment.

Description

The tmux server environment is server-wide and outlives every session on the socket, so it is where exported API keys accumulate. A listing answers HasValue rather than values, and a value asked for by name is still withheld when the name reads as a credential.

Parameters
  • Name (string) – The variable name.

  • Value (string?) – Its value, or null when it is removed, unset, or withheld.

  • IsRemoved (bool) – Whether tmux will unset it for a new pane.

  • HasValue (bool) – Whether tmux holds a value, whatever this entry discloses.

  • Withheld (bool) – Whether a value exists and was not disclosed.

Properties5

EnvironmentEntry properties
NameTypeDescription
Name string The variable name.
Value string? Its value, or null when it is removed, unset, or withheld.
IsRemoved bool Whether tmux will unset it for a new pane.
HasValue bool Whether tmux holds a value, whatever this entry discloses.
Withheld bool Whether a value exists and was not disclosed.
Esc
Search in

Type to search.

Reference previewOpen reference