mattn / go-colorable

http://godoc.org/github.com/mattn/go-colorable
MIT License
766 stars 93 forks source link

support cygwin/msys pty #15

Open mattn opened 8 years ago

mattn commented 8 years ago

See https://github.com/mattn/jvgrep/pull/52

filimonov commented 6 years ago

As i understand from those topic (not sure if google translate was accurate) there is a ready solution for that (containing one extra import and one extra 'if'). And that will affect only cygwin shells on Windows.

Is there some reasons why didn't you add that change to go-colorable?

dolmen commented 1 year ago

@mattn This has been fixed in https://github.com/mattn/go-isatty/pull/13, isn't it?