Incorrect output behavior when updating already printed line

Hello,

I’ve noticed that if a command tries to overwrite a line has already been printed (commonly done to update a progress bar), the new text is either not printed until a new line is requested, or the text is printed on a newline. In the case where the line isn’t printed until a new line is requested, this can lead people to think that execution is hanging. In the case where a new line is printed for each update, this results in excess spam in the logs.

Just wondering if there’s an option or flag that resolves this.

Cheers.