diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/generate_colors.sh | 4 | ||||
| -rw-r--r-- | src/glyphs.sh | 3 | ||||
| -rw-r--r-- | src/hbar.c | 4 | 
3 files changed, 6 insertions, 5 deletions
diff --git a/src/generate_colors.sh b/src/generate_colors.sh index b9e862d..2f0bfcf 100644 --- a/src/generate_colors.sh +++ b/src/generate_colors.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash  PREFIX=$1 @@ -35,7 +35,7 @@ append_sh() {  }  while IFS= read -r line; do -    grep -q "." <<< "$line" || continue +    echo "$line" | grep -q "." || continue      name=$(echo $line | awk '{ print $1 }')      code=$(echo $line | awk '{ print $2 }') diff --git a/src/glyphs.sh b/src/glyphs.sh index 56b5625..118b016 100644 --- a/src/glyphs.sh +++ b/src/glyphs.sh @@ -4,8 +4,9 @@  export CHECKMARK="✔"  export CROSSMARK="✘" +export CROSSMARK="✘"  export HOURGLASS="⧖"  export LARGE_CIRCLE="◯"  export REFRESH="🗘"  export TABCHAR="╰┈➤ " - +export XI="Ξ" @@ -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");  | 
