ControlReply
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- Package
- libtmux-swift
- Source
- Sources/LibTmux/ControlProtocol.swift
- struct ControlReply : struct ControlReply
-
One command's reply, framed between tmux's
%beginand its terminator.Framing is all this carries: whether the command succeeded is
isError, and what it said is the body. Replies and notifications arrive on the same stream, so a reader gets both and has to expect either.
4 declared, 1 inherited
Members
- init(number:lines:isError:) method
- isError property tmux closed the block with
%errorrather than%end. The reason is inlines, the same place a successful reply's output is. - lines property What the command printed, one entry per line, with the block's own
%beginand%endremoved. - number property The number tmux stamped on this reply's block.
Inherited members
Reached through Equatable.!=(_:_:).
- !=(_:_:) Equatable.!=(_:_:) Returns a Boolean value indicating whether two values are not equal.