veeso / termscp

🖥 A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB
https://termscp.veeso.dev
MIT License
1.66k stars 48 forks source link

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

Closed DannyJJK closed 2 years ago

DannyJJK commented 2 years ago

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

veeso commented 2 years ago

Implemented in 6a5c248d (0.10.0)