summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/commands.c b/commands.c
index f6f155c..8fb3296 100644
--- a/commands.c
+++ b/commands.c
@@ -215,6 +215,18 @@ bool cg_reverse_marks(arg_t a)
return true;
}
+bool cg_unmark_all(arg_t a)
+{
+ int i;
+
+ for (i = 0; i < filecnt; i++)
+ files[i].marked = false;
+ markcnt = 0;
+ if (mode == MODE_THUMB)
+ tns.dirty = true;
+ return true;
+}
+
bool cg_navigate_marked(arg_t a)
{
long n = (long) a;