diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-22 16:05:54 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-22 16:05:54 +0900 |
| commit | b431e227da318931a4e7458f3cc07616c6b74ea4 (patch) | |
| tree | 78ea8c61a8399f27f268c58346cf1a5c97b5eed9 /src/util | |
| parent | d94dfe087694d68073f01a51c7357fc4741641d8 (diff) | |
| download | fzf-b431e227da318931a4e7458f3cc07616c6b74ea4.tar.gz | |
Code cleanup
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/eventbox.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/eventbox.go b/src/util/eventbox.go index e16b736b..ccdbb99e 100644 --- a/src/util/eventbox.go +++ b/src/util/eventbox.go @@ -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 { |
