summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2019-11-12 00:57:19 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2019-11-12 00:57:19 +0900
commit05b5f3f845a88e9b034f3302bb50672fc5b7f8c7 (patch)
treed3e9f3fb141ed38bcd245866100e5dd0a0e3b264 /src
parent7e1c0f39e76864ad0aa4d5c88d074b1055a617a6 (diff)
downloadfzf-05b5f3f845a88e9b034f3302bb50672fc5b7f8c7.tar.gz
'reload' action should reset multi-selection
Diffstat (limited to 'src')
-rw-r--r--src/terminal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terminal.go b/src/terminal.go
index d1fbe40d..c5ff3025 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -2047,6 +2047,7 @@ func (t *Terminal) Loop() {
command := replacePlaceholder(a.a,
t.ansi, t.delimiter, t.printsep, false, string(t.input), list)
newCommand = &command
+ t.selected = make(map[int32]selectedItem)
}
}
return true