commercialhaskell / commercialhaskell/stack
`stack repl` in a half closed state after ctrl-c on Windows
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
### General summary/comments (optional)
Running `stack repl` and pressing ctr-c a few times results in a weird state where some inputs get passed to the shell and some to GHCi. GHCi had this issue (see https://gitlab.haskell.org/ghc/ghc/issues/14150) but that's fixed now but the issue still remains when using stack.
### Steps to reproduce
1. Run `stack repl` anywhere
2. Press ctrl-c a few times (probably 2 is enough)
### Expected
I expect GHCi not to exit. That's the behavior when I run `stack exec ghci`.
### Actual
The above described half-closed state.
### Stack version
```
$ stack --version
Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1
```
### Method of installation
* Official binary, downloaded from stackage.org or fpcomplete's package repository
I'm running Windows 10 64bit, Version 10.0.17763 Build 17763.
Contributor guide
Assessment
This issue has not been assessed yet.