micro: Don't forward nil events into the sub event handler by JoeKar · Pull Request #2992 · micro-editor/micro (original) (raw)

Yeah, this is a regression, thanks for reporting. We missed that since commit b68461c the terminal code has been (slightly hackily) relying on nil events as notifications to close the terminal:

b68461c#diff-f4c689c96c13af20e2e9fc3cfdb39b4549de701266748f0acaac5c5b4ce92fd6R113

so now micro doesn't close the terminal automatically, so you see this Press enter to close instead.

I think we can fix it in a better way. I'll try to fix it shortly.