Skip to content
Snippets Groups Projects
Commit bbd01435 authored by Simon Glass's avatar Simon Glass
Browse files

patman: Use ANSI colours only when outputting to a terminal


It is easy to detect whether or not the process is connected to a terminal,
or piped to a file. Disable ANSI colours automatically when output is
not to a terminal.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent c8142633
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment