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

Pressing Esc in the delete confirmation dialog acts as Yes #401

Open
glowinthedark opened this issue Feb 12, 2025 · 0 comments
Open

Pressing Esc in the delete confirmation dialog acts as Yes #401

glowinthedark opened this issue Feb 12, 2025 · 0 comments

Comments

@glowinthedark
Copy link

glowinthedark commented Feb 12, 2025

Describe the bug
After pressing d on a selected folder, after the confirmation dialog is presented with the prompt Are you sure you want to delete <folder name>? pressing the Escape key acts as Yes and proceeds to delete the selected folder.

To Reproduce
Steps to reproduce the behavior:

  1. Select a folder
  2. Press d — the confirmation dialog is presented
  3. Press the Escape key.
  4. Folder is deleted

Expected behavior
Escape must not trigger the delete action

Screenshots
Image

System (please complete the following information):

  • OS: macos 13.7 (22H123)
  • Terminal: reproducible with all of mac ootb Terminal.app, iterm2, Ghostty
  • Version: gdu -v: Version: development installed with go install github.com/dundee/gdu@latest

Additional context

  • the version displayed with gdu -v is a bit zen, so to be 💯 sure reinstalled latest master with the commit hash at the moment of installation a0fd828
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

No branches or pull requests

1 participant