selpath, curpath, cmd, archive
#endif
);
- spawn(utils[UTIL_SH_EXEC], buf, NULL, F_CLI);
+ spawn(utils[UTIL_SH_EXEC], buf, NULL, F_CLI | F_CONFIRM);
free(buf);
}
}
get_archive_cmd(newpath, tmp);
(r == 's') ? archive_selection(newpath, tmp, path)
- : spawn(newpath, tmp, pdents[cur].name, F_NORMAL | F_MULTI);
+ : spawn(newpath, tmp, pdents[cur].name, F_CLI | F_CONFIRM);
mkpath(path, tmp, newpath);
if (access(newpath, F_OK) == 0) { /* File created */
xstrsncpy(lastname, tmp, NAME_MAX + 1);
clearfilter(); /* Archive name may not match */
+ clearselection(); /* Archive operation complete */
goto begin;
}
continue;