summaryrefslogtreecommitdiff
path: root/tools/getline.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-15 10:42:01 +0000
committerSimon Glass <sjg@chromium.org>2013-04-04 14:04:32 -0700
commitbbd01435b9f3f1f60355b95f157170ec52c6353d (patch)
treef6f5bd098c6658aafda60b0072f485757d3ab727 /tools/getline.h
parentc8142633e169665b246352918df5b76fd243bb71 (diff)
downloadu-boot-imx-bbd01435b9f3f1f60355b95f157170ec52c6353d.zip
u-boot-imx-bbd01435b9f3f1f60355b95f157170ec52c6353d.tar.gz
u-boot-imx-bbd01435b9f3f1f60355b95f157170ec52c6353d.tar.bz2
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/getline.h')
0 files changed, 0 insertions, 0 deletions