Function pseudoterm::isatty

source ·
pub fn isatty<F: AsRawFd>(fd: &F) -> bool
Expand description

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.