Instead of writing ANSI escape codes, still obeys --disable_color and --force_color
pros:
uses windows api to set colours when ansi escapes not supported
.blue is clearer than "\x1b[34m"
cons:
not all escape codes supported, but all currently used ones are
Maybe .bright_black should be changed to .dim instead?
Should failure of changing colour result in error logging and program termination or be ignored?
Instead of writing ANSI escape codes, still obeys --disable_color and --force_color
pros:
.blue
is clearer than"\x1b[34m"
cons:Maybe
.bright_black
should be changed to.dim
instead? Should failure of changing colour result in error logging and program termination or be ignored?