mirror of
https://github.com/junegunn/fzf.git
synced 2025-09-03 05:43:49 -07:00
Code cleanup
This commit is contained in:
@@ -79,6 +79,7 @@ func (b *EventBox) Unwatch(events ...EventType) {
|
||||
}
|
||||
}
|
||||
|
||||
// WaitFor blocks the execution until the event is received
|
||||
func (b *EventBox) WaitFor(event EventType) {
|
||||
looping := true
|
||||
for looping {
|
||||
|
Reference in New Issue
Block a user