Function ratatui_list

Source
#[no_mangle]
pub extern "C" fn ratatui_list(
    handle: *mut c_void,
    area_id: u32,
    items: *const c_char,
    selected: i32,
)
Expand description

Queues a List widget.

ยงParameters

  • items: newline-separated list entries.
  • selected: zero-based index of the highlighted row, or -1 for no selection. The highlight uses "> " as the prefix and a bold modifier.