Added command to remove all image marks, bound to Ctrl-m; fixes issue #163

This commit is contained in:
Bert Münnich
2014-08-17 20:27:01 +02:00
parent 50652f63d9
commit 1094def183
5 changed files with 18 additions and 0 deletions

View File

@ -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;