Skip to main content

flush_images

Function flush_images 

Source
pub fn flush_images(images: &[PendingImage], protocol: ImageProtocol)
Expand description

Write pending images to stdout using the appropriate terminal protocol. Call this AFTER terminal.draw() so ratatui’s buffer has already been flushed. had_images_last_frame: if true and images is empty, clears stale images.