holman / spark

▁▂▃▅▂▇ in your shell.

Home Page:http://zachholman.com/spark/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work on my Mac 10.10, iTerm2 (using agnoster theme of Zsh)

indrayam opened this issue · comments

The graphs do not line up on a flat straight line. So looks odd. Not sure what I am doing wrong.

Could be your font. Have you try changing it?

I had the same problem on OS X Yosemite.

The terminal was using the Monaco font. Changing to use Menlo made fixed the issue of some of the bars not aligning.

I am seeing bars fall below the apparent bottom of the graph, as if somehow they have a negative origin. I am on Yosemite, using iTerm 2, 12pt Monaco, and bash. Going to try a new font. Menlo did not help. :(

The following examples both exhibit the issue for me:

spark 900 1400 1200 2500 12 1300 324 5466
git shortlog -s |     cut -f1 |     spark

I'm seeing the same thing here. Here's an example of the output and a screenshot.
screenshot 2015-09-10 20 40 08

❯❯❯❯❯❯❯ clocker data | grep -oEi '\d+\.\d+' | SPARK_MIN=0 spark
▁▃▃▁▃▃▃▅▅▅▁▅▅▂▃▄▂▂▅▆▃▅▆▇▆▆▆█▇▃▁▂▁▃▆▅

Changing it to Menlo didn't do anything for me either. 😭
screenshot 2015-09-10 20 41 31

I am seeing this too, in iTerm 2 both inside and out of Tmux. 😢

Same here.

Same here. Works fine on Terminal.

Hmmm. It might be worth opening an issue in iTerm's repo on this and tie them together. Seems like it's not necessarily a bug in spark so much.

@rogeruiz Yeah, makes sense. By the way, what's the name of the font you were using in your screenshot?

@casidiablo It's M+ 2m regular. It's open source and you can download it here.

iTerm uses Gitlab for their issues so I can't cross-post it using Github's fancy #XXX shortcuts. Here's a link to the issue on Gitlab. 👍

Thanks for creating and linking the issue, @rogeruiz! I'm going to tentatively close this issue out. I'm subscribed on that thread, and if it ends up being a problem with Spark itself we can reopen and make some fixes.