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

[Feature Request] - Dialogs with Yes/No options should be answerable by pressing Y or N on the keyboard #121

Closed
DannyJJK opened this issue Aug 16, 2022 · 1 comment
Assignees
Labels
new feature New feature or request
Milestone

Comments

@DannyJJK
Copy link

Description

When a dialog opens (e.g. I press Esc and it says "Quit termscp?") it gives me the options Yes and No. After using many CLI applications and some TUI applications, it's force of habit for me to press either Y or N to answer this, but in termscp this doesn't do anything, and I must use the arrow keys and the enter key to select either Yes or No

Implementation

When a dialog window opens with the options "Yes | No", assign keyboard shortcut "Y" to click the Yes option, and keyboard shortcut "N" to select the No option

@DannyJJK DannyJJK added the new feature New feature or request label Aug 16, 2022
@veeso veeso added this to the 0.10.0 milestone Aug 17, 2022
@veeso
Copy link
Owner

veeso commented Aug 30, 2022

Implemented in 6a5c248 (0.10.0)

@veeso veeso closed this as completed Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants