Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add a zero tick to the list of ticks

  • Loading branch information...
commit c3a6f72af348e581bd8ea4bb667fa4e003fd1ded 1 parent 7903269
@mjdominus authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 spark
View
4 spark
@@ -46,7 +46,9 @@ EOF
}
# The actual fun characters we are generating in the sparkline.
-ticks=(▁ ▂ ▃ ▄ ▅ ▆ ▇)
+ticks=(x ▁ ▂ ▃ ▄ ▅ ▆ ▇)
+ticks[0]=' ' # Is this really the only way to do this??
+
number_of_tiers=$(( ${#ticks[@]} - 1 ))
# The numbers the user gave us.
numbers=()
Please sign in to comment.
Something went wrong with that request. Please try again.