flat: Do not print colour reset in non-tty

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>