From 628facf286d6d4b708e5e6bda653379c7dffb8d4 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Mon, 10 Aug 2015 00:09:43 +0200
Subject: degesch: properly flush the read marker
---
degesch.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/degesch.c b/degesch.c
index 825f235..3e31eb5 100644
--- a/degesch.c
+++ b/degesch.c
@@ -3100,6 +3100,8 @@ buffer_print_read_marker (struct app_context *ctx)
formatter_init (&f, ctx, NULL);
formatter_add (&f, "#a-- -- -- ---\n", ATTR_READ_MARKER);
formatter_flush (&f, stdout, false);
+ // Flush the trailing formatting reset item
+ fflush (stdout);
formatter_free (&f);
}
--
cgit v1.2.3-70-g09d2