diff options
author | Thomas Graf <tgraf@suug.ch> | 2016-10-18 13:01:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-18 13:01:06 +0200 |
commit | 8b2638c349f780a0a66f6b4ef2430747d97bf24b (patch) | |
tree | a34425d4512bbe59268247303023a771b2aa7619 /src/out_format.c | |
parent | 29fb4317d73e62229f343f1eb2369e0ddd2266ea (diff) | |
parent | a5301347f60fb61cb03f336729ac5bc3f0c919f9 (diff) |
Merge pull request #49 from DoctorSher/master
Flushed stdout after every group is printed in an iteration.
Diffstat (limited to 'src/out_format.c')
-rw-r--r-- | src/out_format.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/out_format.c b/src/out_format.c index 4d017f3..263f8c9 100644 --- a/src/out_format.c +++ b/src/out_format.c @@ -166,6 +166,7 @@ static void draw_element(struct element_group *g, struct element *e, void *arg) static void format_draw(void) { group_foreach_recursive(draw_element, NULL); + fflush(stdout); if (c_quit_after > 0) if (--c_quit_after == 0) |