huwwp / cryptop

command line crypto portfolio
MIT License
235 stars 40 forks source link

Columns shifted if held field too large #24

Closed jgoggan closed 7 years ago

jgoggan commented 7 years ago

If you have a HELD amount bigger than 4 digits to the left of the decimal, then the entire column gets shifted to the right (as well as the rest of the columns to the right). It would be good if we could expand the column sizes (or even auto-adjust them all if one is too large).

Not usually an issue with BTC -- if someone has 10000+, then they likely aren't worried about tracking it here. But, for those of us Shibes with Dogecoin, it isn't a big deal to have 5-digit or even 6-digit coins held. (100,000 Dogecoin is like $170.)

Thanks!

huwwp commented 7 years ago

The lastest build includes options in the ini to set max field width, and it trims off decimal places if it exceeds this. You can copy the fields from the config.ini in the repo or delete the old one and it will be make a new one with the new options present.

jgoggan commented 7 years ago

This is perfect now. Thanks!

nrenich commented 7 years ago

This is very nice.