holmgr / cargo-sweep

A cargo subcommand for cleaning up unused build files generated by Cargo
MIT License
729 stars 31 forks source link

ANSI escape colors not working on windows #15

Closed Eh2406 closed 5 years ago

Eh2406 commented 5 years ago

The ANSI escape sequences for colors does not work on windows cmd.

In Cargo we use the termcolor crate for handling colors in a cross platform way.

Eh2406 commented 5 years ago

On second thought this may be a problem that fern needs to fix.

Eh2406 commented 5 years ago

After more experimenting, when properly installed, Cargo pipes are output thru termcolor thereby cleaning up the codes for us.