Find
C
ase-sensitive
R
egexp search
Path
comm-central
/
third_party
/
rust
/
atty
/
src
Navigation
Enable keyboard shortcuts
Name
Description
Size
lib.rs
atty is a simple utility that answers one question > is this a tty? usage is just as simple ``` if atty::is(atty::Stream::Stdout) { println!("i'm a tty") } ``` ``` if atty::isnt(atty::Stream::Stdout) { println!("i'm not a tty") } ```
5460