pub fn probe() -> Option<Probe>
Queries the controlling terminal. None when not interactive, TERM is dumb/linux/unset, or /dev/tty can’t be used.
None
TERM
dumb
linux
/dev/tty