libtmux Reference MCP Search
On this page

LibTmux.TmuxEnvironment.SetAsync

View as Markdown

Module
LibTmux
Declared in
TmuxEnvironment
Package
LibTmux
Source
src/LibTmux/Environment/TmuxEnvironmentOperations.cs
SetAsync ( name : string , value : string , expandFormats : bool , hidden : bool , cancellationToken : CancellationToken ) Task<TmuxEnvironmentEntry>
methodasync [source]
methodasync [source]
SetAsync

Sets one variable.

Parameters
  • name ( string ) – The variable name.

  • value ( string ) – The value to give it.

  • expandFormats ( bool ) – Whether tmux expands the value as a format first.

  • hidden ( bool ) – Whether the value is kept but not reported back.

  • cancellationToken ( CancellationToken ) – Cancels the tmux commands.

Returns

The variable as tmux holds it afterwards.

Discussed in Environment

0 declared, 0 inherited

Esc

Type to search.