#1040577 toot: color lost when piping

#1040577#5
Date:
2023-07-07 17:52:08 UTC
From:
To:
CLI output is normally in color but when piping the output to another
tool, the color is lost. It’s useful to be able to pipe to “less -R”,
which is a pager that preserves ANSI control codes and thus
color. Apparently toot is detecting the pipeline as non-interactive
and automatically stripping out the color codes even when the
“--no-color” option is not supplied.

It may be deliberate & it’s probably a sensible default behavior. But
if that’s going to be the default then we need a way to force
color. The convention is typically a “--color=always” option.