I'm not sure how best to resolve this. Would you like me to add some code to try and detect background color? This seems like it might be more complex than it's worth...<div><br></div><div>Or would it be better to have a selectable light background color set? If you think light background is more common (I dislike staring at large blocks of white :)) it could default to the light color set.<div>
<br></div><div>Thanks!</div><div><br></div><div>Seth</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 13, 2012 at 8:23 AM, Richard Purdie <span dir="ltr"><<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 2012-11-11 at 09:17 -0600, Seth Bollinger wrote:<br>
> Add bold color output to log level name and standard color output to<br>
> log msg<br>
> when bitbake is run from an iteractive console. Color output is only<br>
> enabled<br>
> if the terminal supports color.<br>
><br>
> Signed-off-by: Seth Bollinger <<a href="mailto:seth.boll@gmail.com">seth.boll@gmail.com</a>><br>
> ---<br>
> bitbake/lib/bb/msg.py | 40<br>
> ++++++++++++++++++++++++++++++++++++++++<br>
> bitbake/lib/bb/ui/knotty.py | 6 +++++-<br>
> 2 files changed, 45 insertions(+), 1 deletions(-)<br>
<br>
I love the idea. I tried testing it and realised that it doesn't work in<br>
my black text on a white background terminals though, the result of the<br>
patch was unreadable :(<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
<br>
</blockquote></div><br></div>