mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 13:28:16 +08:00
Add AsciiCast demos for docs
This commit is contained in:

committed by
Patrik Svensson

parent
69fdae70c0
commit
46abadaccb
@ -5,7 +5,7 @@ Order: 3
|
||||
The `MultiSelectionPrompt` can be used when you want the user to select
|
||||
one or many items from a provided list.
|
||||
|
||||

|
||||
<?# AsciiCast cast="multi-selection" /?>
|
||||
|
||||
<?# Alert ?> The use of prompts
|
||||
insides status or progress displays is not supported.
|
||||
|
@ -5,7 +5,7 @@ Order: 1
|
||||
The `SelectionPrompt` can be used when you want the user to select
|
||||
a single item from a provided list.
|
||||
|
||||

|
||||
<?# AsciiCast cast="selection" /?>
|
||||
|
||||
<?# Alert ?>
|
||||
Using prompts inside
|
||||
|
@ -6,6 +6,8 @@ RedirectFrom: prompt
|
||||
Sometimes you want to get some input from the user, and for this
|
||||
you can use the `Prompt<TResult>`.
|
||||
|
||||
<?# AsciiCast cast="input" /?>
|
||||
|
||||
<?# Alert ?>
|
||||
The use of prompts
|
||||
insides status or progress displays is not supported.
|
||||
|
Reference in New Issue
Block a user