Skip to main content

scrolling

Function scrolling 

Source
pub fn scrolling(
    f: &mut Frame<'_>,
    area: Rect,
    lines: Vec<Line<'static>>,
    offset: u16,
) -> u16
Expand description

Text that scrolls by offset lines; the bar shows only when the text is longer than the area (TUI-FRM-04). Returns the offset actually used (clamped).