Skip to content

Command::new("clear") panics on windows, consider using crossterm? #12

@cndofx

Description

@cndofx

Windows uses cls, so one hacky solution would be to use conditional compilation to run Command::new("cls") when building for windows. Using the crossterm crate for that instead is probably ideal, though. crossterm would also get you other features like the alternate screen and better input handling for your menus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions