mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-30 10:05:58 +00:00
Fix typo in code
This commit is contained in:
1 parent
1b5599972a
commit
d760b790b3
3 files changed
+7
-7
No files matched your search
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user