Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

LibTmux.TmuxChaining.ToCommands

.NET
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
LibTmux
Declared in
TmuxChaining
Package
LibTmux
Source
src/LibTmux/Chaining/TmuxChaining.Hooks.cs
ToCommands ( request : SetHooksRequest , hooks : TmuxHooks ) → IReadOnlyList<TmuxCommand>
methodstatic [source]
methodstatic [source]
ToCommands

Returns every command a multi-entry hook request sends.

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 ( SetHooksRequest ) – Which hook to set, and to what entries.

  • hooks ( TmuxHooks ) – The hooks handle whose scope holds it.

Returns

The commands, in the order tmux must receive them.

Raises

0 declared, 0 inherited

Esc

Type to search.