madnight / bitcoin-chart-cli

Bitcoin chart for the terminal as command line util
MIT License
305 stars 40 forks source link

"width" option not working correctly #10

Closed MrAlexWeber closed 6 years ago

MrAlexWeber commented 6 years ago

Hello, first of all, great app here! I installed on my Mac (macOS 10.12.6) and I noticed some strange behavior trying to set the 'width' option. For -w 70 and -w 80, it seems like the chart is displayed at the same width, and only the text underneath the chart changes its width. Image attached.

image

madnight commented 6 years ago

@MrAlexWeber i'll check that, i guess i should be able improve the width calculation

madnight commented 6 years ago

Okay should be better now, you can test: npm remove bitcoin-chart-cli -g && npm install -g bitcoin-chart-cli --upgrade you should then have bitcoin-chart-cli --version 3.2.2

MrAlexWeber commented 6 years ago

Wow, talk about support! That seems to have fixed it. Thank you!