method libtmux-dotnet latest
TmuxEnvironment.SetAsync
Sets one variable.
Source and package
- Module
- LibTmux
- Declared in
- TmuxEnvironment
- Package
- LibTmux
- Source
- src/LibTmux/Environment/TmuxEnvironmentOperations.cs
- SetAsync ( name : string , value : string , expandFormats : bool , hidden : bool , cancellationToken : Cancellation
Token ) Task<TmuxEnvironment >Entry -
- Parameters
-
-
name ( string ) – The variable name.
-
value ( string ) – The value to give it.
-
expandFormats ( bool ) – Whether tmux expands the value as a format first.
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux commands.
-
- Returns
-
The variable as tmux holds it afterwards.
Discussed in Environment