Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

method libtmux-dotnet latest

TmuxChain.Then

Namespace LibTmux.TmuxChain.Then LibTmux

Adds one command and returns the longer chain.

View as Markdown

Source and package
Module
LibTmux
Declared in
TmuxChain
Package
LibTmux
Source
src/LibTmux/Chaining/TmuxChain.cs
Then ( command : TmuxCommand ) → TmuxChain ( commands : IEnumerable<TmuxCommand> ) → TmuxChain ( name : string , string[] : string , arguments ) → TmuxChain
methodoverload3 overloads [source]
Parameters
  • command ( TmuxCommand ) – The command to run after the ones already added. (for Then(command))

  • commands ( IEnumerable<TmuxCommand> ) – The commands to run, in order, after the ones already added. (for Then(commands))

  • name ( string ) – The tmux command name. (for Then(name, string[], arguments))

  • arguments – Its arguments. (for Then(name, string[], arguments))

Returns

A chain ending with command. (for Then(command))

A chain ending with commands. (for Then(commands))

A chain ending with the named command. (for Then(name, string[], arguments))

Raises
Esc

Type to search.