summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2019-11-11 23:31:31 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2019-11-11 23:31:31 +0900
commitdeccf20a359af9f7420be9dc6aad4c50d6b329e7 (patch)
tree648b9a60ffa501b252b0d0910939d316c9a11861 /src
parent73c0a645e0fd80acb5ddb755142834a245745888 (diff)
downloadfzf-deccf20a359af9f7420be9dc6aad4c50d6b329e7.tar.gz
Fix regression of select-all
Diffstat (limited to 'src')
-rw-r--r--src/terminal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.go b/src/terminal.go
index 2db811c6..d1fbe40d 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -1429,7 +1429,7 @@ func (t *Terminal) selectItem(item *Item) bool {
return false
}
if _, found := t.selected[item.Index()]; found {
- return false
+ return true
}
t.selected[item.Index()] = selectedItem{time.Now(), item}