[][src]Function pseudoterm::isatty

pub fn isatty<F: AsRawFd>(fd: &F) -> bool

Returns true if the file is a TTY/PTY. This usually means the program is ran interactively and not for example piped to another program.