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

Do not change terminal colour #346

Open
ffaf1 opened this issue Nov 18, 2021 · 2 comments
Open

Do not change terminal colour #346

ffaf1 opened this issue Nov 18, 2021 · 2 comments

Comments

@ffaf1
Copy link

ffaf1 commented Nov 18, 2021

To reproduce:

  • run ghcid to run tests (e.g. ghcid -c "cabal repl test" -T "import Main" -T ":main --color -f failed-examples")
  • have some test fail
  • press C-c
  • now your terminal is in crimson red and you need to reset it to get normal colours back

Expected behaviour:

  • do not tamper with terminal colours on exit (even if it is C-c).
@ndmitchell
Copy link
Owner

Thanks for the report. Patch welcome, but I've mostly moved to using Haskell Language Server, so am unlikely to fix this myself.

@tankorsmash
Copy link

This isn't related but this issue is how I found out I needed to pass --color to :test main --color to get Colourista to work, so saying thank you both!

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

3 participants