mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-16 11:01:35 +08:00
Render preview window when the initial query fails to match
Only if preview template contains {q}
Fix #1452
Related #1307
This commit is contained in:
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -1533,7 +1533,7 @@ func (t *Terminal) Loop() {
|
||||
|
||||
go func() {
|
||||
var focused *Item
|
||||
var version int64
|
||||
var version int64 = -1
|
||||
for {
|
||||
t.reqBox.Wait(func(events *util.Events) {
|
||||
defer events.Clear()
|
||||
|
||||
Reference in new issue
Block a user