Use the existing terminal code to handle ANSI colours. Enable colour by default if the output is going to a terminal.
Signed-off-by: Simon Glass <[email protected]> --- (no changes since v1) tools/moveconfig.py | 92 +++++++++++++++++++-------------------------- 1 file changed, 38 insertions(+), 54 deletions(-) Applied to u-boot-dm, thanks!

