knotty: Colorize knotty interactive console output
authorSeth Bollinger <seth.boll@gmail.com>
Fri, 16 Nov 2012 01:29:40 +0000 (19:29 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Nov 2012 15:49:03 +0000 (15:49 +0000)
commit2734240da2cc150f811129a6adf6eb4b2161b204
treea516a37eb4440f96fc3fd9ac50230e559e860d50
parent64c662ab7f09c2e867445e8ba21ea63ae014d45b
knotty: Colorize knotty interactive console output

Add bold color output to log level name and standard color output to log msg
when bitbake is run from an iteractive console.  Color output is only
enabled
if the terminal supports color.

Used Jason Wessel's recommendation for transparency on verbose, note and
plain.

Signed-off-by: Seth Bollinger <seth.boll@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/msg.py
lib/bb/ui/knotty.py