m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-15 23:03:47 -05:00

Make preview updated when reload and change-query are combined

Fix #2744
This commit is contained in:
Junegunn Choi
2022-03-29 22:25:48 +09:00
parent ef67a45702
commit 5209e95bc7
3 changed files with 11 additions and 1 deletions

View File

@@ -673,6 +673,7 @@ func (t *Terminal) UpdateList(merger *Merger, reset bool) {
t.merger = merger
if reset {
t.selected = make(map[int32]selectedItem)
t.version++
}
t.mutex.Unlock()
t.reqBox.Set(reqInfo, nil)