Skip to main content

draw_picker_with_info

Function draw_picker_with_info 

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

Draw a file/folder picker list with an extra selected-item info line (e.g. showing the full filename of the highlighted .bak file). pinned_header renders items[0] as a fixed header above the scrollable list.