Skip to main content

render_picker

Function render_picker 

Source
pub fn render_picker(
    frame: &mut Frame<'_>,
    title: &str,
    state: &mut PickerState,
    actions: &[PickerAction<'_>],
)
Expand description

Render the picker into the given frame.

This updates state.visible_height from the actual terminal geometry and calls ensure_cursor_visible so scroll is correct even after a resize.