detect_sixel_support

Function detect_sixel_support 

Source
pub fn detect_sixel_support(
    term_info: Option<&Terminfo>,
    is_interactive: bool,
) -> Option<bool>
Expand description

Detect whether the terminal supports Sixel graphics.

First checks the terminfo database. If terminfo does not confirm or refute support (None), verifies that the session is interactive and supports Primary Device Attributes (DA1) queries according to terminfo before performing an in-band DA1 probe. Returns None if support is unknown.