Term::Prompt::List
A class responsible for rendering select list menu Used by {Prompt} to display interactive menu.
@api private
Constants
FILTER_KEYS_MATCHER = /\A([[:alnum:]]|[[:punct:]])\Z/
Allowed keys for filter, along with backspace and canc.
HELP = "(Use %s arrow%s keys, press Enter to select%s)"
Constructors
Instance methods
Call the list menu by passing question and choices
call(question, possibilities)
Sourcedefault
Sourcehelp
Sourcekeybackspace
Sourcekeydelete
Sourcekeydown
Sourcekeyleft
Sourcekeynum(key)
Sourcekeypress(key, event)
Sourcekeyreturn
Sourcekeyright
Moves all choices page by page keeping the current selected item at the same level on each page.
When the choice on a page is outside of next page range then adjust it to the last item, otherwise leave unchanged.
keyup
Sourcepage_size
Sourcesearch_choice_in(searchable)
Sourceseparator
Sourcesymbols
Source