mirror of
https://github.com/junegunn/fzf.git
synced 2024-09-11 14:35:26 +03:00
Correct outdated comment
This commit is contained in:
parent
01302d097c
commit
63aa5d3b4e
@ -2445,7 +2445,7 @@ func (t *Terminal) buildPlusList(template string, forcePlus bool) (bool, []*Item
|
||||
}
|
||||
|
||||
// We would still want to update preview window even if there is no match if
|
||||
// 1. command template contains {q} and the query string is not empty
|
||||
// 1. the command template contains {q}
|
||||
// 2. or it contains {+} and we have more than one item already selected.
|
||||
// To do so, we pass an empty Item instead of nil to trigger an update.
|
||||
if current == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user