Skip to main content

draw_picker

Function draw_picker 

Source
pub fn draw_picker(
    f: &mut Frame<'_>,
    app: &AppState,
    items: &[&str],
    descs: &[&str],
    state: &mut ListState,
    pinned_header: bool,
)
Expand description

Draw a file/folder picker list. pinned_header renders items[0] as a fixed header above the scrollable list.