Documentation
¶
Index ¶
Constants ¶
View Source
const ( CY_HOOK = "cy" TEST_PROMPT = "\033Pcy\033\\$ " )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// The human-readable representation of this command as it appeared
// originally.
Text string
// In certain circumstances, input is not contiguous
Input []search.Selection
// But output always is
Output search.Selection
// Whether this command is still in progress. If true, `Output` will
// not be valid.
Pending bool
// The indices of the event where each of these stages occurred.
// The event at which the user was prompted
Prompted int
// The event at which the command was executed (it was finished being
// input)
Executed int
// The event at which the command finished executing (its output ended)
Completed int
// contains filtered or unexported fields
}
func (Command) InputStart ¶
Click to show internal directories.
Click to hide internal directories.