vamolessa / pepper

simple and opinionated modal code editor for your terminal
https://vamolessa.github.io/pepper/
373 stars 15 forks source link

prebuilt macOS binary doesn't work #22

Closed hovsater closed 2 years ago

hovsater commented 2 years ago

Hi 👋

I just purchased a prebuilt binary of pepper and tried to run it on macOS 12.0.1. Unfortunately, it doesn't work. Pepper immediately crashes upon starting it. No output whatsoever.

vamolessa commented 2 years ago

Oh, sorry about that. Is there a pepper_crash.txt in the folder from where you tried to run it? Would you mind pasting it here? Thanks

hovsater commented 2 years ago

No worries. Here's the contents:

$ cat pepper-crash.txt
panicked at 'could not add event', pepper/src/platforms/bsd.rs:100:13
vamolessa commented 2 years ago

I think I've managed to fix it on v0.19.3. It turns out we can't poll on /dev/tty with kqueue on macos specifically. Will close for now. If there's still an issue, please feel free to reopen it. Thanks for your patiance and for reporting this!