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.

interface libtmux-dotnet latest

ITmuxRequest

Namespace LibTmux.ITmuxRequest LibTmux

A request that becomes one tmux command against a target.

View as Markdown

Source and package
Module
LibTmux
Package
LibTmux
Source
src/LibTmux/Chaining/ITmuxRequest.cs
interface LibTmux.ITmuxRequest
interface [source]

Description#

Every request builds its command with the same code the one-shot method uses, so a chained call and a direct call send identical arguments rather than two descriptions that have to be kept in step.

What each request is aimed at is decided by what tmux needs, not by taste. A window names the session that will hold it; keys name the pane, because which flags tmux accepts depends on the server version and the pane is what knows it. A request that names nothing in particular, such as a new session, is aimed at the server that runs it.

TmuxChaining runs any of these on its own; a TmuxChain runs several in one tmux invocation.

Members1 member#

Other members1 member#

  • ToCommand method Returns this request as one tmux command.
Esc

Type to search.