Type NativeSelectCommand

type NativeSelectCommand struct {
	Kind      NativeSelectCommandKind
	Selection NativeSelectSelection
}

NativeSelectCommand is returned to the owner; the component never opens an OS popup or mutates caller-owned selection itself.

Constructors

NativeSelectCommandForKey#

func NativeSelectCommandForKey(snapshot NativeSelectSnapshot, key ui.Key) (NativeSelectCommand, bool)

NativeSelectCommandForKey maps trigger-owned keys to caller-applied state transitions. It does not open a native popup, synthesize pointer selection, wrap at list ends, or select disabled options.