[Vala] Colorful error messages for valac



Hello,

I really like the colored error message output in the clang C compiler,
I feel that it really helps the readability of the errors and warnings.
I would like the same colorful error messages in Vala, so I wrote a
patch that adds this to valac (based on the current git master).

To see what I am talking about see this image:
http://i.imgur.com/HXTlJ.png

The patched version is on the left of course.

However, my patch is only half complete. The colored output works, as
the screenshot shows, but there is no fallback for terminals that do not
support colors. I attempted to support this through curses, but instead
I just caused valac to segfault. If someone could finish it that would
be absolutely great.

-Nate

Attachment: 0001-Adds-colors-to-error-and-warning-messages.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]