You are not logged in.
I finally found a file manager that I like. Yay.
However, Midnight Commander's confirmation dialogs (e.g. when deleting a file) always pop up with "yes" preselected, which means that your data is toast (or whatever) if you accidentally hit Enter. Guarding against accidental keystrokes is IMO a Big Deal, and I consider this a rather serious issue.
I've yet to come up with anything on this on Google... So, does anyone here know how to make those dialogs default to "no"?
Offline
Options -> Configuration -> Safe delete ![]()
Offline
Thank you!
Is there per chance a way of setting that behavior for file execution as well, or am I out of luck on that?
Offline
you are welcome,
Nope, there is no config option for such thing. However you can change the source, in src/filemanager/panel.c then add query_set_sel (1); just before:
if (query_dialog
(_("The Midnight Commander"),
_("Do you really want to execute?"), D_NORMAL, 2, _("&Yes"), _("&No")) != 0)Offline