You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And given that even the current console for Windows 10 supports colors, let alone the new Windows Terminal or VSCode Terminal or many other terminals support colours, this check seems very outdated.
This check should be modernised, or at least allow the color check to be overridden by a CRI option.
The text was updated successfully, but these errors were encountered:
I’m okay with disabling the check entirely, and defaulting to color. It’s forward-thinking, and I can’t come up with a better alternative. What do you think?
the win32console gem which has been marked as deprecated for nearly 8 years now
Personally, I'm fine with colour-by-default, but unfortunately there needs to be some way due to older operating systems, or CI systems like Appveyor, where the colour codes just spam the output.
Previously whether to use ANSI (I assume) color codes on Windows was gated on the Win32::Console::ANSI object being defined (https://github.com/ddfreyne/cri/blob/2f172673f602d114e3632817a0d3868b31212dae/lib/cri/platform.rb#L24)
However that gets defined in the win32console gem which has been marked as deprecated for nearly 8 years now (https://github.com/luislavena/win32console)
And given that even the current console for Windows 10 supports colors, let alone the new Windows Terminal or VSCode Terminal or many other terminals support colours, this check seems very outdated.
This check should be modernised, or at least allow the color check to be overridden by a CRI option.
The text was updated successfully, but these errors were encountered: