commit 617334025364b31e0e61b901131e3f8c456aea51 from: Marcel Rodrigues date: Wed Aug 05 23:08:40 2015 UTC Add optional alert to inform that a batch operation has finished. commit - 9bfc94779c7b8c259aecb12264e190fd0be58343 commit + 617334025364b31e0e61b901131e3f8c456aea51 blob - 044dd33127f55890129b404430be9260478c9cb8 blob + b5228cbd98a9401486c63eb5b59846f7868b1daf --- config.h +++ config.h @@ -57,3 +57,6 @@ #define RVP_RENAME RV_PROMPT("rename") #define RV_JUMP 10 + +/* Optional macro to be executed when a batch operation finishes. */ +#define RV_ALERT() beep() blob - a95eee4bdfb22a5b224b3805ca639fab7914738d blob + 98a5510821f8a7e2ec32aadb20fb62e10559988d --- rover.c +++ rover.c @@ -663,6 +663,7 @@ process_marked(PROCESS pre, PROCESS proc, PROCESS pos, message(GREEN, "%s all marked entries.", msg_done); else message(RED, "Some errors occured while %s.", msg_doing); + RV_ALERT(); } /* Wrappers for file operations. */