gizak / termui

Golang terminal dashboard
MIT License
13.11k stars 786 forks source link

support float values for barchart #141

Closed AnirudhVyas closed 5 years ago

AnirudhVyas commented 7 years ago

I am writing a barchart terminal type cummulative app that has CPU usage times often in 0.1ish range - I want that data to be visible - is there a float data type that I can use instead of []int{} ?

Please advise ...

AnirudhVyas commented 7 years ago

i sent a pull request for this - please let me know if that is acceptable... https://github.com/gizak/termui/pull/142

cjbassi commented 5 years ago

Just added this to master with 958a28575d7411492d25e42da3ad5a6e5947d9a4 during the rewrite I did. Do note that termui has been heavily reworked in that commit, so there's a lot of breaking changes.