TerminalKeyEventType

Physical lifecycle phase of a normalized keyboard event.

Hosts must use PRESS for an initial physical press, REPEAT only when the platform identifies an operating-system repeat, and RELEASE when the same physical key is released. A host that cannot distinguish a phase must not infer one; it should report the event as PRESS or omit it.

Entries

Link copied to clipboard

Initial physical key press.

Link copied to clipboard

Operating-system generated repeat while the physical key remains down.

Link copied to clipboard

Physical key release.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.