Skip to main content

render_scrollbar

Function render_scrollbar 

Source
pub fn render_scrollbar(
    theme: &Theme,
    area: Rect,
    buf: &mut Buffer,
    (rows, view, top): (usize, usize, usize),
)
Expand description

Draws a scrollbar on the right border of area in the TurboVision symbols and the scrollbar roles, for rows rows with view of them shown from row top; nothing when they all fit.