-
Notifications
You must be signed in to change notification settings - Fork 32
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
feature request: colorize * in error report #8
Comments
While improving display, it would also be helpful to improve the debugger output:
|
Great idea. It should improve trace readability a lot. I try to keep dependencies low. |
My understanding is that behind the scenes it's just adding special control characters. You might just be able to grab https://github.com/pallets/click/blob/master/click/termui.py#L335 and the unstyle function and be good to go.
|
Yes, I guess you are right. click uses 3-clause BSD licence so it is compatible with MIT and shouldn't be a problem to take just the needed bits of code while keeping the copyright notice. |
@dgreisen This is implemented on the For |
It would be hugely helpful if the * indicating where the parser failed were bright red. I hacked something together for arpeggio with regexp and http://click.pocoo.org/5/utils/#ansi-colors, but it would be great if this were built in to parglare.
The text was updated successfully, but these errors were encountered: