tty: flush immediately (#40774)

This commit is contained in:
Harmen Stoppels 2023-10-30 15:07:30 +01:00 committed by GitHub
parent 9ed9a541c9
commit 060a1ff2f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,6 +211,7 @@ def info(message, *args, **kwargs):
stream.write(line + "\n") stream.write(line + "\n")
else: else:
stream.write(indent + _output_filter(str(arg)) + "\n") stream.write(indent + _output_filter(str(arg)) + "\n")
stream.flush()
def verbose(message, *args, **kwargs): def verbose(message, *args, **kwargs):