television_screen::preview

Function draw_preview_content_block

Source
pub fn draw_preview_content_block(
    f: &mut Frame<'_>,
    rect: Rect,
    entry: &Entry,
    preview: &Arc<Preview>,
    rendered_preview_cache: &Arc<Mutex<RenderedPreviewCache<'static>>>,
    preview_scroll: u16,
    use_nerd_font_icons: bool,
    colorscheme: &Colorscheme,
) -> Result<()>