diff options
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -251,6 +251,17 @@ bool it_toggle_image_mark(arg_t a) return true; } +bool it_reverse_marks(arg_t a) +{ + int i, cnt = mode == MODE_IMAGE ? filecnt : tns.cnt; + + for (i = 0; i < cnt; i++) + files[i].marked = !files[i].marked; + if (mode == MODE_THUMB) + tns.dirty = true; + return true; +} + bool it_navigate_marked(arg_t a) { long n = (long) a; |