forked from tslocum/cview
Bugfix: nil return value in input capture should not stop the event loop. Fixes #179
This commit is contained in:
parent
ec12437564
commit
ebf651d1c0
|
@ -216,7 +216,7 @@ EventLoop:
|
|||
if inputCapture != nil {
|
||||
event = inputCapture(event)
|
||||
if event == nil {
|
||||
break EventLoop // Don't forward event.
|
||||
continue // Don't forward event.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue