TmuxCommandList
Several tmux commands sent in one invocation.
Source and package
- Qualified name
-
TmuxCommand List - Package
- libtmux-swift
- Source
- Sources/LibTmux/CommandList.swift
- struct TmuxCommandList : struct Tmux
Command List -
Description#
tmux runs a
;-separated list in a single client connection, which saves a process and a round trip per command and keeps the list from interleaving with another caller's work.What it does not do is delimit the output: tmux concatenates everything onto one stream with nothing marking where one command's output ends. So a list answers "did all of this run, and what came out" — not "what did the third command say". Ask separately when you need per-command attribution.
Members6#
Common operations1#
- commands: var commands: [Tmux
Command ] property
Other members5#
- init(_:) method
- init(arrayLiteral:) method Creates an instance initialized with the given elements.
- isEmpty: var is
Empty : Bool property - then(_:_:) method
- then(_:) method Appends a command, returning a new list.
Inherited members1 member#
Reached through Equatable.!=(_:_:).