continuePrompt static method
Creates bindings that exit on common "continue" keys (Enter, Esc, Space).
Implementation
static KeyBindings continuePrompt({
void Function()? onContinue,
String hintLabel = 'Enter',
String hintDescription = 'continue',
}) {
return exitOn(
keys: {KeyEventType.enter, KeyEventType.esc, KeyEventType.space},
onExit: onContinue,
hintLabel: hintLabel,
hintDescription: hintDescription,
);
}