Improved --sync behavior

When --sync is provided, fzf will not render the interface until the
initial filtering and associated actions (bound to any of 'start',
'load', or 'result') are complete.
This commit is contained in:
Junegunn Choi committed 2024-06-17 00:11:57 +09:00
1 parent b8c01af0fc
commit e0ddb97ab4
4 files changed
+130 -75

No files matched your search

-9
View File
@@ -334,15 +334,6 @@ type Event struct {
MouseEvent *MouseEvent
}
func (e Event) Is(types ...EventType) bool {
for _, t := range types {
if e.Type == t {
return true
}
}
return false
}
type MouseEvent struct {
Y int
X int