From 0667ef102f8cd641ee1def83fddfbecc42edf80c Mon Sep 17 00:00:00 2001 From: Frederic Lecaille Date: Thu, 23 Jul 2026 10:31:46 +0200 Subject: [PATCH] BUG/MINOR: haload: fix display glitches by flushing stdout in summary Fix a bug in hld_summary() where the output stream was not explicitly flushed after printing the periodic statistics line. This caused text buffering issues and visual overlapping in the terminal output. --- src/haload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/haload.c b/src/haload.c index 638acdba8..65cf7967a 100644 --- a/src/haload.c +++ b/src/haload.c @@ -665,6 +665,7 @@ void hld_summary(void) (unsigned long long)(tot_sc[4] - prev_sc[4])); putchar('\n'); + fflush(stdout); prev_totc = tot_conn; prev_totr = tot_req; -- 2.47.3