Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit a0907b5

Browse files
committed
general: don't clear selected files if there aren't any
1 parent 080bcee commit a0907b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fff

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,8 +752,10 @@ key() {
752752

753753
# Clear all marked files.
754754
"${FFF_KEY_CLEAR:=c}")
755-
marked_files=()
756-
redraw
755+
[[ ${marked_files[*]} ]] && {
756+
marked_files=()
757+
redraw
758+
}
757759
;;
758760

759761
# Rename list item.

0 commit comments

Comments
 (0)