mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
spelling
This commit is contained in:
parent
825adb2768
commit
6d5a2065a2
|
|
@ -47,7 +47,7 @@ func TestFuzzy(t *testing.T) {
|
|||
ch := make(chan interface{}, 1)
|
||||
l := line.NewRaw(uint64(i), v.input, false)
|
||||
err := filter.Apply(ctx, []line.Line{l}, pipeline.ChanOutput(ch))
|
||||
if !assert.NoError(t, err, `filter.Apply should succeeed`) {
|
||||
if !assert.NoError(t, err, `filter.Apply should succeed`) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
2
input.go
2
input.go
|
|
@ -45,7 +45,7 @@ func (i *Input) handleInputEvent(ctx context.Context, ev termbox.Event) error {
|
|||
|
||||
m := &i.mutex
|
||||
|
||||
// Smells like Esc or Alt. mod == nil checks for the presense
|
||||
// Smells like Esc or Alt. mod == nil checks for the presence
|
||||
// of a previous timer
|
||||
m.Lock()
|
||||
if ev.Ch == 0 && ev.Key == 27 && i.mod == nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue