Skip to main content

render_kitty

Function render_kitty 

Source
pub fn render_kitty<'a>(
    view: &ResolvedView,
    images: impl IntoIterator<Item = &'a Image>,
    cell_pixels: Option<PixelSize>,
    terminal: &mut (impl CommandWriter + ?Sized),
) -> Result<()>
Expand description

Queues every visible image through a terminal command connection.

This is the stateless first-frame path: each call transmits the complete RGBA asset with the Kitty graphics protocol and displays the visible source crop in the anchor resolved with the fallback cells. The terminal backend owns APC framing and physical output.