Crate better_term
source ·Modules
Macros
- Returns a string from stdin with the prompt given
- Works the same way as read_input!() Returns true if the user types ‘y’, ‘Y’, or “yes” to the prompt Returns false if the user types ‘n’, ‘N’, or “no” to the prompt defaults to yes if the user presses enter
Structs
- A way to style output, by setting flags within this struct and then outputting it with (“… {} …”, style)
Enums
- Default ansi colors
Functions
- this will reset all colors and styles in the console for future output