const (
InputGroupCommandNone InputGroupCommand = iota
InputGroupCommandInsertNewline
)Type InputGroupCommand
type InputGroupCommand uint8InputGroupCommand is a request for the caller-owned editor. Addon button activation continues through its normal stable canvas hit ID.
Constants
Constructors
InputGroupCommandForKey#
func InputGroupCommandForKey(snapshot InputGroupSnapshot, key ui.Key) (InputGroupCommand, bool)InputGroupCommandForKey maps only commands owned by the selected control shape. Single-line groups leave Enter to form activation; multiline groups request a newline from the caller-owned editor.