The heroku cli for some commands displays a nice looking "loading" animation and colours: ⣟
, ⣯
, ⣷
, ...
In some logging systems, this is not well supported and pollutes them with:
[1A[13C⣟[1B[G[2K[1A[13C⣯[1B[G[2K[1A[13C⣷[1B[G[2K[1A[13C⣾[1B[G[2K[1A[13C⣽
Is there a way to disable these animations and potentially even colours?
It looks like if the TERM
env var is set to dumb
e.g. TERM=dumb
then download progress is disabled, see:
https://github.com/heroku/cli/blob/master/packages/pg-v5/lib/download.js#L9
Perhaps it would be helpful if it was documented.