Earlier, the default value would just be shown on the side at all times. This is even if the default will not be selected which can be misleading. This change shows the default as greyed out text in the input itself. It also allows pressing 'Tab' to make the current input the default if the current input value is the start of the default. Implements #4 |
||
---|---|---|
.. | ||
confirm.rs | ||
editor.rs | ||
expand.rs | ||
file_auto_complete.rs | ||
float.rs | ||
game.rs | ||
input.rs | ||
int.rs | ||
long-list.rs | ||
macros.rs | ||
multi-select.rs | ||
password.rs | ||
prompt-module.rs | ||
raw-select.rs | ||
README.md | ||
repetitive.rs | ||
select.rs | ||
when.rs |
Requestty Examples
The examples given show some basic usage of the library in different
ways. You can also see the documentation for the Question
type for
examples on each prompt type.
Required features
All of the examples work with all features.
Run examples
$ cargo run --example [example-name]