Skip to content

Minimal example doesn't work under Windows #14

@leontoeides

Description

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions