summaryrefslogtreecommitdiffstats
path: root/dimension/progressbar.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-21 15:41:50 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-21 15:41:50 -0500
commite99e915e306dd5316b90f87759176a55d62a686e (patch)
tree366b4ad1c3c926639f6f69aad83779b5cd6139e9 /dimension/progressbar.c
parent86cce76328041c18fc17df4ccb7556879a6761de (diff)
downloaddimension-e99e915e306dd5316b90f87759176a55d62a686e.tar.xz
Mess with `dimension' output a bit.
Diffstat (limited to 'dimension/progressbar.c')
-rw-r--r--dimension/progressbar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dimension/progressbar.c b/dimension/progressbar.c
index ac5f899..029e94c 100644
--- a/dimension/progressbar.c
+++ b/dimension/progressbar.c
@@ -26,14 +26,14 @@ dmnsn_progressbar(const char *str, const dmnsn_progress *progress)
const unsigned int increments = 32;
unsigned int i;
- printf("%s|", str);
+ printf("%s", str);
fflush(stdout);
for (i = 0; i < increments; ++i) {
dmnsn_wait_progress(progress, ((double)(i + 1))/increments);
- printf("=");
+ printf(".");
fflush(stdout);
}
- printf("|\n");
+ printf("\n");
fflush(stdout);
}