aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-08-06 23:58:42 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-08-06 23:58:42 +0200
commitd207c90577e6e211ba374df4c349d53a95f9c72d (patch)
tree8565f09cd8ad60ac77d4f34a85fc706992cc97dc
parent2afc9f99c3cd40d35d24ad2d0d9647038ebfd9f3 (diff)
downloadxK-d207c90577e6e211ba374df4c349d53a95f9c72d.tar.gz
xK-d207c90577e6e211ba374df4c349d53a95f9c72d.tar.xz
xK-d207c90577e6e211ba374df4c349d53a95f9c72d.zip
degesch: properly flush formatting resets
-rw-r--r--degesch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index ff5fa3f..b3747ec 100644
--- a/degesch.c
+++ b/degesch.c
@@ -2770,6 +2770,8 @@ buffer_line_display (struct app_context *ctx,
input_hide (&ctx->input);
buffer_line_flush (line, &f, stdout);
+ // Flush the trailing formatting reset item
+ fflush (stdout);
input_show (&ctx->input);
}