Closed jcamiel closed 1 year ago
Ah sorry, I didn't check PR (#134), fill free to close mine!
This is actually being discussed in https://github.com/colored-rs/colored/pull/122#issuecomment-1618254492 as well, an MSRV just needs to be decided on before figuring out if a crate or the stdlib will be used.
Feel free to track the issue linked in that PR for any updates :)
Hi, In Rust 1.70,
is_terminal
is available onstd::io::stdout()/stderr()/stdin()
, maybe this is an opportunity to remove theatty
dependency?In /colored/src/control.rs instead of:
The code can be now:
I can make a PR if needed!
Thanks,