pub fn isatty<Fd: AsFd>(fd: Fd) -> bool
termios
isatty(fd)—Tests whether a file descriptor refers to a terminal.
isatty(fd)