Cringe.Widgets.Select (cringe v0.4.0)

Copy Markdown View Source

Render-only select/list widget and explicit selection update helpers.

Summary

Functions

new(opts \\ [])

@spec new(keyword()) :: Cringe.Document.t()

update(selected, arg2, options)

@spec update(non_neg_integer(), Cringe.Event.t(), [term()]) ::
  {:ok, non_neg_integer()} | :ignored