pub fn is_tui_session(tui_flag: bool) -> bool
cli-tui
--tui was passed and stdout is a real terminal — the full-screen UI applies. On a non-TTY the caller degrades to a plain run.
--tui