degesch: properly flush the read marker
This commit is contained in:
parent
7225b68f74
commit
628facf286
|
@ -3100,6 +3100,8 @@ buffer_print_read_marker (struct app_context *ctx)
|
||||||
formatter_init (&f, ctx, NULL);
|
formatter_init (&f, ctx, NULL);
|
||||||
formatter_add (&f, "#a-- -- -- ---\n", ATTR_READ_MARKER);
|
formatter_add (&f, "#a-- -- -- ---\n", ATTR_READ_MARKER);
|
||||||
formatter_flush (&f, stdout, false);
|
formatter_flush (&f, stdout, false);
|
||||||
|
// Flush the trailing formatting reset item
|
||||||
|
fflush (stdout);
|
||||||
formatter_free (&f);
|
formatter_free (&f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue