Parameters: |
- string – The prompt text to display in console
- string – A list of allowed chars (i.e. “abc12345”)
- bool – If true, case will be ignored and prompt will always return lower-cased response
- bool – Is empty response allowed?
- bool – Display the selection after user presses key
|