Crate better_term
source · [−]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 repeats prompt until user enters a valid input
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
This function takes a string and makes all the characters rainbow