diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-21 15:41:50 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-21 15:41:50 -0500 |
commit | e99e915e306dd5316b90f87759176a55d62a686e (patch) | |
tree | 366b4ad1c3c926639f6f69aad83779b5cd6139e9 /dimension/progressbar.c | |
parent | 86cce76328041c18fc17df4ccb7556879a6761de (diff) | |
download | dimension-e99e915e306dd5316b90f87759176a55d62a686e.tar.xz |
Mess with `dimension' output a bit.
Diffstat (limited to 'dimension/progressbar.c')
-rw-r--r-- | dimension/progressbar.c | 6 |
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); } |