pub fn current_tty() -> bool
Whether both stdin and stdout are terminals.
This varies because consent is machine-scoped: a decision recorded on a TTY authorizes later headless runs on the same home.