pub fn get_tty() -> Option<PathBuf>
Get TTY path for this process.
Returns None if not in a TTY. Always returns None if not Linux, FreeBSD or OpenBSD.
None