diff options
author | davidovski <david@davidovski.xyz> | 2022-02-20 22:20:50 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-20 22:20:50 +0000 |
commit | 2fcc1fa648b1594eda18935f9590a94971fae616 (patch) | |
tree | 5c1c3dd0cea2046addb6d2c0a21066bdf87487d5 /src/hbar.c | |
parent | 89539c200bf93d53ee9b91b521c09bd4607e01d0 (diff) |
added xi glyphv1.0
Diffstat (limited to 'src/hbar.c')
-rw-r--r-- | src/hbar.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -118,7 +118,7 @@ int main (int argc, char **argv) { printf(RESET "\r"); printf(color); - for (int i = 0; i < width; i++) { + for (int i = 0; i <= width; i++) { int reset_at = 0; if (total > 0) { float percent = (float) completed / (float) total; @@ -139,7 +139,7 @@ int main (int argc, char **argv) { } if (line != -1) { - printf("\033[%dB", line, 0); + printf("\033[%dB", line); } if (terminate) { printf(RESET "\n"); |