Use dash in unfilled gauge space instead of space
authorSiraaj Khandkar <siraaj@khandkar.net>
Sat, 31 Oct 2020 02:06:39 +0000 (22:06 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sat, 31 Oct 2020 02:06:39 +0000 (22:06 -0400)
home/lib/login_functions.sh

index 06444ac..92a111b 100644 (file)
@@ -380,8 +380,8 @@ bar_gauge() {
 
             printf "["
             for (i=1; i<=width; i++) {
-                c = i <= u ? "|" : " "
-                printf "%c", c
+                c = i <= u ? "|" : "-"
+                printf "%s", c
             }
             printf "]\n"
         }
This page took 0.031026 seconds and 4 git commands to generate.