File buffering.diff of Package osc
--- a/osc/core.py 2026-02-04 22:56:11.832260899 +0100
+++ b/osc/core.py 2026-02-04 22:57:00.812643034 +0100
@@ -4657,6 +4657,8 @@
data = buildlog_strip_time(data)
# to protect us against control characters (CVE-2012-1095)
output_buffer.write(sanitize_text(data))
+ if output_buffer.isatty():
+ output_buffer.flush()
query = {'nostream': '1', 'start': f'{offset}'}
if last: