Essentially this question, but for Rust: How do I detect whether sys.stdout is attached to terminal or not?
I didn't see anything in the Stdout docs (https://doc.rust-lang.org/std/io/struct.Stdout.html)
Essentially this question, but for Rust: How do I detect whether sys.stdout is attached to terminal or not?
I didn't see anything in the Stdout docs (https://doc.rust-lang.org/std/io/struct.Stdout.html)