Type CommandOptions

type CommandOptions struct {
	InputID     ui.ID
	Label       string
	Query       string
	Placeholder string
	Hint        string
	Disabled    bool
	Invalid     bool
	Variant     CommandVariant
	Layer       uint16
	Scope       ui.ID
	DismissID   ui.ID
	// Scroll is the scroll position of a result list taller than the room under
	// the input (see MenuScroll); the surface's height is where the list is cut,
	// as Vega's `max-h-72` cuts it. Without one only the results at the top show.
	// Set its Offset to zero when the query changes.
	Scroll *MenuScroll
}

CommandOptions describes caller-owned command input and overlay state.