# TmuxReply

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

What tmux said.

Output is bytes. tmux does not promise UTF-8 — a pane title can carry
anything the program in it emitted — so decoding is the caller's decision
and invalid bytes are data rather than a failure.

## Members

- `!=(_:_:)` (function): Returns a Boolean value indicating whether two values are not equal.
- `standardOutput` (property): Bytes rather than a string, because a format's fields are separated by a byte and decoding happens after splitting, not before.
- `standardError` (property): Where tmux explains a command it refused.
- `exitCode` (property): tmux's exit status. Nonzero is an answer — `has-session` says "no" this way — so it is reported rather than thrown.
- `init(standardOutput:standardError:exitCode:)` (method)
- `isSuccess` (property)
- `text` (property): Standard output decoded as UTF-8, replacing anything invalid.
- `errorText` (property): Standard error decoded as UTF-8, trimmed of its trailing newline.
