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

Fix typo in code

This commit is contained in:
Junegunn Choi
2015-02-17 19:28:10 +09:00
parent 1b5599972a
commit d760b790b3
3 changed files with 7 additions and 7 deletions

View File

@@ -53,8 +53,8 @@ func (events *Events) Clear() {
}
}
// Peak peaks at the event box if the given event is set
func (b *EventBox) Peak(event EventType) bool {
// Peek peeks at the event box if the given event is set
func (b *EventBox) Peek(event EventType) bool {
b.cond.L.Lock()
defer b.cond.L.Unlock()
_, ok := b.events[event]