Skip to main content

detect_startup_theme

Function detect_startup_theme 

Source
pub fn detect_startup_theme(
    preference: Option<ThemePreference>,
) -> ThemeDetection
Expand description

Resolve a TUI startup theme, querying the terminal only when neither config nor COOKIE_THEME chooses an explicit theme.