-
- All Superinterfaces:
Prompt
- All Known Implementing Classes:
DefaultKeyPressPrompt
public interface KeyPressPrompt extends Prompt
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
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.StringgetHint()Get the hint text displayed to the user (e.g., "Press any key to continue...").-
Methods inherited from interface org.jline.prompt.Prompt
getFilter, getMessage, getName, getTransformer
-
-