Minimal example doesn't work under Windows
leontoeides opened this issue · 0 comments
leontoeides commented
Hey there! Prodash looks awesome. Pretty excited to start using it but there is some confusion on how to get the renderer working.
Using the minimal example from here: https://docs.rs/prodash/21.0.0/prodash/render/tui/index.html
I updated the render_fut
clause to:
// Configure the gui, provide it with a handle to the ever-changing tree
let render_fut = prodash::render::tui::render(
std::io::stdout(),
Arc::downgrade(&root),
prodash::render::tui::Options {
title: "minimal example".into(),
..prodash::render::tui::Options::default()
}
)?;
When I run the example the screen is blank. Any advice? Thank you!