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

Colorize terminal messages #8525

Open
michaelpj opened this issue Oct 11, 2022 · 2 comments
Open

Colorize terminal messages #8525

michaelpj opened this issue Oct 11, 2022 · 2 comments
Labels

Comments

@michaelpj
Copy link
Collaborator

Cabal's output is currently all monochrome. It might be nice to make some judicious use of color.

Places that would IMO benefit from color:

  • Warnings and errors could be highlighted. I very regularly have colleagues ask for help when the answer is printed out by cabal as a warning, but the warning is swamped by e.g. dependency resolution output, so they don't notice it. Coloring them would help.
  • Dependency conflicts. Often there is quite a lot of output explaining why dependency solving failed. Usually I want to pick out the conflicts that forced the solver to discard a branch, but these aren't always easy to see. Again, this is another example where I regularly see people get stuck despite it saying "pkgconfig error: no libX" or whatever - it's just not easy to spot.
@philderbeast
Copy link
Collaborator

I've definitely missed swamped warnings.

@ffaf1
Copy link
Collaborator

ffaf1 commented Oct 11, 2022

This is a good suggestion, I will just add: swamped warnings and big dependency conflicts are a problem for blind users too, for sure there is a way to better the UX for everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants