# TmuxCommandList

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/CommandList.swift#L11
- **Page:** https://libtmux.org/en/swift/latest/reference/tmuxcommandlist/

Several tmux commands sent in one invocation.

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.

## Members

- `!=(_:_:)` (function): Returns a Boolean value indicating whether two values are not equal.
- `commands` (property)
- `init(_:)` (method)
- `init(arrayLiteral:)` (method): Creates an instance initialized with the given elements.
- `then(_:)` (method): Appends a command, returning a new list.
- `then(_:_:)` (method)
- `isEmpty` (property)
