haskell / haskell/haskeline

Handling Interrupt on MacOS arm64

Open
#180 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
247
Forks
82
PR merge metrics
No merged PRs in 30d

Description

I've been playing with Haskeline for the past hours and found a small issue that seems related to this one: https://github.com/judah/haskeline/issues/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
>

bash-5.2$ : hGetChar: hardware fault (Input/output error)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.