pub fn get_tty() -> Result<File>
Get the TTY device.
This allows for getting stdio representing only the TTY, and not other streams.