Skip to content

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

Open
cjungmann wants to merge 1 commit intomlichvar:masterfrom
cjungmann:escape_key_response
Open

Add response to ESCAPE key, as advertised in the documentation.#2
cjungmann wants to merge 1 commit intomlichvar:masterfrom
cjungmann:escape_key_response

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

Comments