pub fn tui_mode() -> TuiMode
Detects whether a requested TUI should run interactively or fall back to line output.