ndmitchell / hlint

Haskell source code suggestions
Other
1.48k stars 195 forks source link

Removed deprecated call for simulated ANSI. #1516

Closed elland closed 1 year ago

elland commented 1 year ago

hlint called hSupportsANSIWithoutEmulation, which has been deprecated. The ansi-terminal package no longer supports legacy versions of windows that required emulation.

eyeinsky commented 1 year ago

Just replace the entire do block with hSupportsANSI stdout :)

elland commented 1 year ago

@eyeinsky I ended up picking up an issue right after that changes the exact same line https://github.com/ndmitchell/hlint/pull/1517 so any changes here will conflict there. I'd take this PR as more of a check if this is a fine change to make and just apply the change to the other PR instead.

zliu41 commented 1 year ago

Thanks!