zupzup/calories

Used calories are not correctly shown on windows 64 bit

Closed this issue · 3 comments

First: Awesome idea and programm!!

I ran the program on windows 64 bit.
And sadley the calories used are not correctly shown.

calories

Any idea what the probem might be?

Hi, thanks for your bug report!

Which windows version are you using and which terminal?

This seems to be a problem with the font coloring done with https://github.com/fatih/color. As you can see, the 300 is there, but also the coloring codes.

I'll take a look as soon as I'm back home where I can test with my windows machine

Yeah your right. it worked fine as soon as i took the color commands out.
i am using windows 8. but i have no idea what version of terminal i am using ( i just open the cmd command line). :)

but you don't need to fix that just for me :) i can live with the work around and no colors :)

The problem was, that I didn't use color.Output for Windows, as documented at https://github.com/fatih/color

Should be fixed in the 1.0.2 release :)