Term::Prompt::EnhancedConfirm
A class responsible for rendering enhanced confirmation prompts Used by {Prompt} to display confirmation with destructive operation support.
@api private
Constants
CONFIRM_HELP = "(Type 'yes' to confirm)"
DESTRUCTIVE_HELP = "(Type 'yes' to confirm destructive action)"
DOUBLE_CONFIRM_HELP = "(Type 'yes' twice to confirm)"
Constructors
new(prompt : Prompt, **options)
SourceInstance methods
keybackspace
Sourcekeydelete
Sourcekeyenter
Sourcekeyreturn
Source