Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add response to ESCAPE key, as advertised in the documentation. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cjungmann
Copy link

I'm not even sure if you accept pull requests, since don't seem to be any.

I couldn't get the ESCAPE key to exit whiptail forms, so I found the omission and added two lines of code.

@mlichvar
Copy link
Owner

Your change would cause all applications (not just whiptail) to react to ESC.

A better way would be to add ESC as a hotkey in whiptail. It should probably be limited to dialogs that have the cancel button, otherwise I suspect it might lead to unexpected behavior.

Another option is to fix the man page to not mention the escape key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants