[][src]Function fungus::sys::hastty

pub fn hastty() -> bool

Determine if the environment has an attached tty

Examples

use fungus::prelude::*;

println!("{:?}", sys::hastty());