fatih/color

Panic when used on go 1.17

alekc opened this issue · 4 comments

alekc commented

Hi, while using a terraform provider which list this project as one of it's dependencies I got a panic on the start of the process. After some digging turns out it's related to github.com/mattn/go-isatty v0.0.14

Dependabot has already bumped the version here but until there is a release it won't be fetched by the upstream.

Can you have a look?

fatih commented

Hi @alekc

Can you show me the panic output please? Or a sample example that makes fatih/color panic?

Thank you

alekc commented

Probably better if I link directly the related PR mattn/go-isatty#66 , also golang/go#46645

fatih commented

Thank you @alekc I'll take a look at it.

fatih commented

It looks like go-isatty was already updated in go.mod, but I never released a new version.

I just released a new version, v1.13.0, which now includes the latest updates.