Skip to main content

detect_backend

Function detect_backend 

Source
pub fn detect_backend<F>(env_lookup: F) -> Backend
where F: Fn(&str) -> Option<String>,
Expand 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.