Skip to main content

render_scrollbar

Function render_scrollbar 

Source
pub fn render_scrollbar(
    frame: &mut Frame<'_>,
    area: Rect,
    scroll_offset: usize,
    visible_rows: usize,
    total_rows: usize,
)
Expand description

Render the right-edge scrollbar over area if the list overflows. Silently no-ops when every row already fits — that’s the common case (most operators have <8 batches / <30 peers / <5 tags).