-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I want to use the Escape key to skip a text prompt.
The problem: It takes 3 seconds from when I press the Escape key, for the execute() method to return.
Why?
If I use "c-d", it works fine.
from InquirerPy import inquirer
prompt = inquirer.text(
message="Enter your name:",
mandatory=False,
default="Hello",
keybindings= {
"skip": [{"key": "escape"}],
},
)
name = prompt.execute()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels