From 54af0c9aecb80a9aae61b82a5717fb140e21a684 Mon Sep 17 00:00:00 2001 From: David Hotham Date: Sat, 18 Jun 2022 22:40:29 +0100 Subject: [PATCH] don't flush on every write --- cleo/io/outputs/stream_output.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cleo/io/outputs/stream_output.py b/cleo/io/outputs/stream_output.py index e785a01d..7866a400 100644 --- a/cleo/io/outputs/stream_output.py +++ b/cleo/io/outputs/stream_output.py @@ -82,7 +82,6 @@ def _write(self, message: str, new_line: bool = False) -> None: message += "\n" self._stream.write(message) - self._stream.flush() def _has_color_support(self) -> bool: # Follow https://no-color.org/