Interface KeyPressPrompt

  • 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 Detail

      • getHint

        default java.lang.String getHint()
        Get the hint text displayed to the user (e.g., "Press any key to continue...").
        Returns:
        the hint text