ITmuxRequest
A request that becomes one tmux command against a target.
Source and package
- Module
- LibTmux
- Package
- LibTmux
- Source
- src/LibTmux/Chaining/ITmuxRequest.cs
-
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.
TmuxChainingruns any of these on its own; aTmuxChainruns several in one tmux invocation.