Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling Interrupt on MacOS arm64 #180

Open
aboeglin opened this issue Jun 16, 2023 · 0 comments
Open

Handling Interrupt on MacOS arm64 #180

aboeglin opened this issue Jun 16, 2023 · 0 comments

Comments

@aboeglin
Copy link

aboeglin commented Jun 16, 2023

I've been playing with Haskeline for the past hours and found a small issue that seems related to this one: #162. So whenever I hit ctrl-C the program exits although the interrupt handler makes it just loop, but also after some more inputs in the terminal it shows the stdin error at the bottom. The code itself is mainly the example from the documentation but I'd happily put a small reproducible example together if needed.

Here is the output from the terminal, ctrl-C was pressed right after the >.

> 

bash-5.2$ <stdin>: hGetChar: hardware fault (Input/output error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant