niklashigi / devstats

:bar_chart: A CLI application that fetches stats from developer sites
https://asciinema.org/a/170671
MIT License
113 stars 9 forks source link

Terminal is painted entirely #7

Closed DinoSourcesRex closed 6 years ago

DinoSourcesRex commented 6 years ago

So this happens both on Git Bash and Powershell (Windows 10) for me.

I've installed globally with yarn global add devstats, added a few accounts and anytime I run devstats I get the screen below.

powershell_2018-11-15_01-52-17

Any ideas?

niklashigi commented 6 years ago

I was able to reproduce your issue and find out what causes it: Windows somehow requires a full style reset to "end" background colors. That's why the background color "bleeds out" of the area its supposed to fill. I added a full style reset in #8 and will release a version with a fix soon.

DinoSourcesRex commented 6 years ago

@shroudedcode Thanks for the quick response! Looking forward to the fix.

niklashigi commented 6 years ago

@DinoSourcesRex No problem, thank you for reporting the issue. I might have never found it myself since I don't use Windows for programming.

Can you update devstats and check whether the fix works for you?

DinoSourcesRex commented 6 years ago

@shroudedcode I upgraded and checked both Git Bash and Powershell and both work as expected.

Thanks so much.

niklashigi commented 6 years ago

@DinoSourcesRex I'm happy I was able to solve your issue. :grinning: Mind giving the repo a star? :star2:

DinoSourcesRex commented 6 years ago

@shroudedcode Surprised I hadn't done it already!