From 356cda29178cc1dd0b8b402a43e06c87ce3268e1 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Fri, 5 Feb 2016 15:41:10 +0000 Subject: [PATCH] Flush stdout after writing message details so it works reasonably if there's also stderr output nearby. --- mode_s.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mode_s.c b/mode_s.c index c2493d1..d9e8545 100644 --- a/mode_s.c +++ b/mode_s.c @@ -1237,6 +1237,7 @@ void displayModesMessage(struct modesMessage *mm) { } printf("\n"); + fflush(stdout); } //