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

Ctrl-C in cabal repl shouldn't exit the repl (just like GHCi) #1609

Closed
adimit opened this issue Dec 9, 2013 · 0 comments
Closed

Ctrl-C in cabal repl shouldn't exit the repl (just like GHCi) #1609

adimit opened this issue Dec 9, 2013 · 0 comments

Comments

@adimit
Copy link

adimit commented Dec 9, 2013

When running ghci I can use Ctrl-C to interrupt actions that have obviously gone AWOL, or cancel a long running computation without entirely exiting GHCi itself.

This does not work if GHCi was started via cabal repl. If cabal repl were to trap SIGINT and pass it on to GHCi, which would do the right thing with it, that would make my life a lot easier.

Alternately, a different way to cancel a computation without (expensively) exiting the repl should be provided.

EDIT: disregard this, I clicked the button twice by accident. The actual version is #1610.

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