aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-19 12:12:47 +0100
committerThomas White <taw@physics.org>2009-11-19 12:12:47 +0100
commit2f01e52d0248f769b88aee6067ab2f0ab094f115 (patch)
treeaa17617928aaf4c4c72e1c3d5d8b57967b485683 /src/utils.c
parent10753755e7d6648f5a2b2bb6f6403caeb6d59f2f (diff)
Progress bar improvements
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index d456ec70..2868ef08 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -174,4 +174,6 @@ void progress_bar(int val, int total)
printf("\r|%s|", s);
if ( val == total ) printf("\n");
+
+ fflush(stdout);
}