On this page
LibTmux.TmuxOptions.SetAsync
- Module
- LibTmux
- Declared in
- TmuxOptions
- Package
- LibTmux
- Source
- src/LibTmux/Options/TmuxOptions.cs
- SetAsync ( request : SetOptionRequest , cancellationToken : CancellationToken ) Task<TmuxOptionValue>
-
Sets one option.
The value is read back rather than echoed, because tmux does not always store what it was given: an appended value joins what was there, and a format is expanded before it lands.
- Parameters
-
-
request ( SetOptionRequest ) – Which option to set, to what, and how.
-
cancellationToken ( CancellationToken ) – Cancels the tmux commands.
-
- Returns
-
The value tmux holds afterwards.
- Raises
-
-
TmuxOptionException – tmux rejected the option or its value.
-
Discussed in Options and hooks
0 declared, 0 inherited