aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-08-10 00:09:43 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-08-10 00:09:43 +0200
commit628facf286d6d4b708e5e6bda653379c7dffb8d4 (patch)
treebb5444f96f10dd4a135ddbfc36fb8149d2c5970a /degesch.c
parent7225b68f749b16b5c8f9bdfa79fb18db8afd4d48 (diff)
downloadxK-628facf286d6d4b708e5e6bda653379c7dffb8d4.tar.gz
xK-628facf286d6d4b708e5e6bda653379c7dffb8d4.tar.xz
xK-628facf286d6d4b708e5e6bda653379c7dffb8d4.zip
degesch: properly flush the read marker
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c2
1 files changed, 2 insertions, 0 deletions
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);
}