ControlCommandResult
ControlCommandResult is one completed control-mode command frame. A failed tmux command remains result data through Failed; local, protocol, transport, and context failures are returned separately by Connection.Call, ControlClient.Cmd, and ControlClient.Call. All slices are owned by the caller.
Source and package
- Qualified name
-
tmux.Control Command Result - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_protocol.go
Fields6#
| Name | Type | Description |
|---|---|---|
| Command | []string | Command is the safely encoded command's original argument vector. |
| Failed | bool | Failed reports whether tmux closed the frame with %error instead of %end. |
| Flags | int | Flags contains tmux's frame flags. |
| Number | uint64 | Number is tmux's command number for the frame. tmux counts commands the server processed rather than commands this client sent, so a command from any other client advances it too and the gap between two frames is not a count of this client's work. |
| RawStdout | []byte | RawStdout contains exact frame payload bytes, including each line's LF. |
| Timestamp | int64 | Timestamp is tmux's frame timestamp in Unix seconds. |