I have a long upload history, so I piped it to less to navigate it better. However, the output was hard to read due to the ANSI escape codes.
Most CLI apps only enable colors when stdout is a TTY, and disable them when stdout is not a TTY.
Please apply this fix to the history list command so that it doesn't use colors when piped to another command.

I have a long upload history, so I piped it to
lessto navigate it better. However, the output was hard to read due to the ANSI escape codes.Most CLI apps only enable colors when
stdoutis a TTY, and disable them whenstdoutis not a TTY.Please apply this fix to the
history listcommand so that it doesn't use colors when piped to another command.