# TmuxCommandList

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/CommandList.swift#L10
- **Page:** https://libtmux.org/reference/swift/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)
