In [TextProgressBar](https://github.com/dask/distributed/blob/4081a0e09febd9099f04a1db9772f6cd95203b2e/distributed/diagnostics/progressbar.py#L138) ```python def _draw_stop(self, **kwargs): sys.stdout.write("\r") sys.stdout.flush() ``` probably `\n` is better than `\r`? otherwise, other `stdout` messages from `logging` or `print` can't be displayed well.