pub fn get_tty() -> Option<PathBuf>
Expand description

Get TTY path for this process.

Returns None if not in a TTY. Always returns None if not Linux, FreeBSD or OpenBSD.