Docs.rs
better_term-1.4.61
better_term 1.4.61
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Sk3pz
Dependencies
Versions
53.19%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
better_
term
1.4.61
All Items
Crate Items
Modules
Macros
Structs
Enums
Functions
Crate
better_term
Copy item path
Source
Modules
§
input
Macros
§
read_
input
Returns a string from stdin with the prompt given
yesno_
prompt
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
§
Style
A way to style output, by setting flags within this struct and then outputting it with (“… {} …”, style)
Enums
§
Color
Default ansi colors
Functions
§
flush_
styles
this will reset all colors and styles in the console for future output