fix: make 'no' the default button in delete/empty confirmation dialogs #437
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

This is a critical safety improvement to prevent accidental data loss. Previously, the 'yes' button was selected by default in confirmation dialogs for delete and empty operations, making it extremely easy to accidentally destroy data by pressing 'e' followed by Enter.
Problem
Users have reported significant data loss (up to 150GB) due to accidentally pressing 'e' followed by Enter, which would immediately confirm deletion with the dangerous 'yes' default. This creates an extremely high risk of accidental data loss with just two quick keypresses.
Changes
['yes', 'no', 'don't ask me again']to['no', 'yes', 'don't ask me again']making 'no' the defaultconfirmDeletionSelected()andconfirmDeletionMarked()to handle the new button orderstrings.Titlewithgolang.org/x/text/cases.TitleImpact
This addresses a known usability issue in the gdu community where users have reported significant data loss due to the dangerous default behavior. The fix aligns gdu with ncdu's safer approach of defaulting to 'no'.
Testing
Fixes the critical safety issue mentioned in community discussions where users have experienced data loss due to accidental confirmation of destructive actions.