- All Superinterfaces:
Prompt
- All Known Implementing Classes:
DefaultKeyPressPrompt
Interface for key press prompts.
A key press prompt displays a message and waits for the user to press any key to continue.
-
Method Summary
Methods inherited from interface org.jline.prompt.Prompt
getFilter, getMessage, getName, getTransformer
-
Method Details
-
getHint
Get the hint text displayed to the user (e.g., "Press any key to continue...").- Returns:
- the hint text
-