pub fn detect_backend<F>(env_lookup: F) -> BackendExpand description
Decide which chart backend to use given the current process
environment. Honours NOMISYNC_TUI_CHART for explicit overrides —
useful for CI recordings and for users whose terminal capability
the heuristics misidentify.