mirror of
https://github.com/junegunn/fzf
synced 2026-07-29 18:01:42 +00: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