Skip to main content

detect_image_support_from

Function detect_image_support_from 

Source
pub fn detect_image_support_from(
    force: Option<&str>,
    kitty_window: Option<&str>,
    term: &str,
    term_program: &str,
) -> ImageSupport
Expand description

Pure decision core — env values passed in so tests can build a matrix.

Priority: force override > KITTY_WINDOW_ID set > TERM=xterm-kitty > TERM_PROGRAM=iTerm.app > None.