etui/widgets/list — Scrollable list with selection.
etui/widgets/list
▶ item one item two item three
let l = glist.list_new(["one", "two", "three"]) let state = glist.select_next(glist.state_new(), 3) glist.render_stateful(buf, area, l, state)