Not sure I fully grasp the intended logic here but this appears to be the minimum fix for #245 without regressing use without the flag or use with the --no-color flag. The logic here could almost certainly be simplified, the nested testing of $use_color at least but I feel it's all more complex than it ought to be. Suggestions welcome.
Not sure I fully grasp the intended logic here but this appears to be the minimum fix for #245 without regressing use without the flag or use with the
--no-color
flag. The logic here could almost certainly be simplified, the nested testing of$use_color
at least but I feel it's all more complex than it ought to be. Suggestions welcome.