switch (*ch) {
#ifdef KEY_RESIZE
+ case 0: // fallthrough
case KEY_RESIZE:
clearoldprompt();
redraw(path);
break;
/* Handle all control chars in main loop */
- if (*ch < ASCII_MAX && keyname(*ch)[0] == '^' && *ch != '^') {
- if (keyname(*ch)[1] == '@')
- *ch = 'm';
+ if (*ch < ASCII_MAX && keyname(*ch)[0] == '^' && *ch != '^')
goto end;
- }
if (len == 1) {
if (*ch == '?') /* Help and config key, '?' is an invalid regex */
"b^R Rename/dup%-14cr Batch rename\n"
"cz Archive%-17ce Edit file\n"
"c* Toggle exe%-14c> Export list\n"
- "5Space ^J (Un)select%-7cm ^Space Mark range/clear sel\n"
+ "5Space ^J (Un)select%-12cm-m Mark range/clear sel\n"
"ca Select all%-14cA Invert sel\n"
"9p ^P Copy sel here%-8cw ^W Cp/mv sel as\n"
"9v ^V Move sel here%-11cE Edit sel\n"
{ ' ', SEL_SEL },
/* Toggle select multiple files */
{ 'm', SEL_SELMUL },
- { CONTROL(' '), SEL_SELMUL },
/* Select all files in current dir */
{ 'a', SEL_SELALL },
/* Invert selection in current dir */