A simple class for prompting a user for input.
Displays the prompt and then waits for the user to enter a response. If the ‘termios’ library is available, the user’s input will not be echoed to the terminal. The user’s response will be returned, with any trailing newline chomped.
[Validate]