method libtmux-dotnet latest
TmuxChaining.ToCommands
Returns every command a multi-entry hook request sends.
Source and package
- Module
- LibTmux
- Declared in
- TmuxChaining
- Package
- LibTmux
- Source
- src/LibTmux/Chaining/TmuxChaining.Hooks.cs
- ToCommands ( request : Set
Hooks , hooks : TmuxRequest Hooks ) IReadOnly <TmuxList Command > -
Description#
This request is several tmux commands rather than one, so it answers a list. Running them one at a time is what the one-shot path does; adding them to a chain is what this is for.
- Parameters
-
-
request ( Set
Hooks ) – Which hook to set, and to what entries.Request -
hooks ( Tmux
Hooks ) – The hooks handle whose scope holds it.
-
- Returns
-
The commands, in the order tmux must receive them.
- Raises
-
-
Argument
Null – An argument is null.Exception
-