rprompt
makes it easy to prompt for input in a console application on all platforms, Unix and Windows alike.
rprompt
is made available free of charge. You can support its development through Liberapay 💪
Add rprompt
as a dependency in Cargo.toml:
[dependencies]
rprompt = "2.1"
See examples and docs at https://docs.rs/rprompt.
The source code is released under the Apache 2.0 license.