Skip to main content

numbered_rows

Function numbered_rows 

Source
pub fn numbered_rows(
    style: Style,
    choices: &[Choice],
    multi: bool,
    default: Option<usize>,
) -> Vec<String>
Expand description

Build the static, numbered choice list a line-driven terminal prints once.

default highlights the single-select fallback; it is ignored when multi.