Background
Spectre.Console 0.55.0 adds useful improvements to TextPrompt:
- Editable default values — pre-populate the prompt with a value the user can modify before submitting.
CancellationToken support — programmatically cancel prompts.
- Clear-prompt-line option — erase the prompt after input.
Relevant files
samples/MostVersatileMaterials/ItemPicker.cs — uses AnsiConsole.Prompt()
Opportunity
Review ItemPicker.cs to see if editable defaults or cancellation support would improve the user experience.
Reference
Background
Spectre.Console 0.55.0 adds useful improvements to
TextPrompt:CancellationTokensupport — programmatically cancel prompts.Relevant files
samples/MostVersatileMaterials/ItemPicker.cs— usesAnsiConsole.Prompt()Opportunity
Review
ItemPicker.csto see if editable defaults or cancellation support would improve the user experience.Reference