dbg-macro icon indicating copy to clipboard operation
dbg-macro copied to clipboard

Support always on colors

Open dufferzafar opened this issue 2 years ago • 2 comments

I'm using dbg() in a test that runs via ctest which prevents any colors from appearing - as ctest buffers stdout so it has the option of not showing any output if the tests passed.

Running the test binary without ctest gives proper colors.

Having a way to enable coloring regardless of isatty would be great. Something like #DBG_MACRO_COLOR_ALWAYS (akin to grep --color=always).

dufferzafar avatar Jun 30 '22 20:06 dufferzafar

Related to #105

thecaralice avatar Jun 30 '22 22:06 thecaralice

Sounds like a good idea!

Something like #DBG_MACRO_COLOR_ALWAYS (akin to grep --color=always).

:+1:

sharkdp avatar Jul 11 '22 19:07 sharkdp