Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

interface libtmux-dotnet

ITmuxRequest

A request that becomes one tmux command against a target.

Source and package
Qualified name
LibTmux.ITmuxRequest
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/Chaining/ITmuxRequest.cs
interface LibTmux.ITmuxRequest

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.

Type parameters

Members1 members

  • ToCommand Returns this request as one tmux command.
Esc
Search in

Type to search.

Reference previewOpen reference