Open jgvictores opened 5 years ago
PS: If we ever do this, for #19 via ansicon
it should also be supported per https://github.com/adoxa/ansicon/blob/eccbbe7a547f0ff8a3e7e6b6b3eaaa3d7563ae4d/ANSI.c#L331-L369
PS: Related to #5 (Windows 10 color console), the blog entry mentioned in the description also has an SGR section: https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#example-of-sgr-terminal-sequences
While https://github.com/ikalnytskyi/termcolor is implemented as c++ stream manipulators, other projects in other languages present diffent APIs: chalk, colors.
At #20 @PeterBowman mentioned
Allow users to disable color output
becausecertain colors are not as nicely rendered as on (...) and even hard to read
.
Not really related to this issue, but related to that comment of mine: I just noticed that white colors (CD_INFO
) are not really white since https://github.com/roboticslab-uc3m/color-debug/pull/15, they look rather grayish. This is easier to spot when having both CD output and YARP log messages.
Allow users to customize color output.
Why? At #20 @PeterBowman mentioned
Allow users to disable color output
becausecertain colors are not as nicely rendered as on (...) and even hard to read
.Where? Some options:
.colordebugrc
file? Nice idea, but ouch! we need code (aka more stuff in.c
)..colordebugrc
fileHow? Here are some links, best first:
The last two are plain documentation, we'd have to go to the source.