Expand description
A library designed to provide a curses alternative.
Explaining things is hard, so here’s an example:
use yacll::Yogurt;
fn main() -> yacll::Result<()> {
let mut y = Yogurt::new();
// does not add newline
y.print("Hello, world!\n")?;
// flush the buffer (print just queues things for execution)
y.flush()?;
Ok(())
}
// try running `$ cargo run --example=quickstart` if you have the repository cloned!
For serializing/deserializing of some structs, the serde
feature can be enabled.
Modules
Enums and structs for getting input from the user.
Enums and structs used for stylizing text and the cursor.
Structs
Enums
Type Definitions
Result with the given type and an instance of
Yarr
.