Skip to main content

Module select_key

Module select_key 

Source
Expand description

Single-keypress option select — built on the Prompt trait.

Structs§

KeySelected
Returned by select_key: the character pressed and the option’s label.
SelectKeyPrompt
Builder returned by select_key().

Functions§

select_key
Pick one option by a single keypress — no Enter required.