Created
November 21, 2018 03:42
-
-
Save packrat386/2970ae8972c5852962bac10750bc5373 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 46cff894e9de7284395b4df996914221f96fc1ac Mon Sep 17 00:00:00 2001 | |
From: Aidan Coyle <packrat386@gmail.com> | |
Date: Tue, 20 Nov 2018 21:40:36 -0600 | |
Subject: [PATCH] Bats first attempt | |
--- | |
src/pv/display.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/src/pv/display.c b/src/pv/display.c | |
index 2627152..3cf4d1c 100644 | |
--- a/src/pv/display.c | |
+++ b/src/pv/display.c | |
@@ -803,9 +803,9 @@ static char *pv__format(pvstate_t state, | |
for (i = 0; | |
i < | |
(available_width * state->percentage) / 100 - | |
- 1; i++) { | |
+ 1; i=i+4) { | |
if (i < available_width) | |
- strcat(state->str_progress, "="); | |
+ strcat(state->str_progress, "\xf0\x9f\xa6\x87"); | |
} | |
if (i < available_width) { | |
strcat(state->str_progress, ">"); | |
-- | |
2.14.3 (Apple Git-98) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment