summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfff6
1 files changed, 4 insertions, 2 deletions
diff --git a/fff b/fff
index 7468461..1813de6 100755
--- a/fff
+++ b/fff
@@ -752,8 +752,10 @@ key() {
# Clear all marked files.
"${FFF_KEY_CLEAR:=c}")
- marked_files=()
- redraw
+ [[ ${marked_files[*]} ]] && {
+ marked_files=()
+ redraw
+ }
;;
# Rename list item.