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

EMAIL: ESC to cancel in text fields #10

Closed
bobbimanners opened this issue Sep 1, 2020 · 1 comment
Closed

EMAIL: ESC to cancel in text fields #10

bobbimanners opened this issue Sep 1, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bobbimanners
Copy link
Owner

It would be nice if hitting ESC in the 'To', 'cc' or 'Subject' fields cancelled the email.

@bobbimanners bobbimanners added the enhancement New feature or request label Sep 1, 2020
@bobbimanners bobbimanners self-assigned this Sep 1, 2020
@bobbimanners
Copy link
Owner Author

In email.system the routines prompt_for_name() and prompt_okay() have both been enhanced to accept [ESC] as a cancel command.

The calling code has been updated to take advantage of this. This means it is now possible to cancel out of all operations where the user is prompted for a text string or a y/n question.

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

No branches or pull requests

1 participant