'reload' action should reset multi-selection

This commit is contained in:
Junegunn Choi
2019-11-12 00:57:19 +09:00
parent 7e1c0f39e7
commit 05b5f3f845
2 changed files with 5 additions and 1 deletions

View File

@@ -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