title: Is there a way to get GHC error messages properly formatted on powershell terminal when built with stack?
body: <p>Building with ghc prints beautifully formatted error messages on powershell (as in other terminals):</p>
  
  <pre><code>PS &gt; ghc .\src\XXX.hs -package ghc -package ghc-paths -package filepath
  
  [1 of 1] Compiling XXX           ( src\XXX.hs, src\XXX.o )
  
  src\XXX.hs:340:9: error:
      parse error on input `&lt;-'
      Perhaps this statement should be within a 'do' block?
      |
  340 |   blah  &lt;- blah blah blah
      |         ^^
  </code></pre>
  
  <p>But when building through stack, something goes wrong:</p>
  
  <pre><code>PS &gt; stack build
  XXX-0.1.0.0: build (lib + exe)
  Preprocessing library for XXX-0.1.0.0..
  Building library for XXX-0.1.0.0..
  [2 of 3] Compiling XXX ( src\XXX.hs, .stack-work\dist\5c8418a7\build\XXX.o )
  
  ←[;1msrc\XXX.hs:340:9: ←[;1m←[31merror:←[0m←[0m←[;1m←[0m←[0m←[;1m
      parse error on input `&lt;-'
      Perhaps this statement should be within a 'do' block?←[0m←[0m
  ←[;1m←[34m    |←[0m←[0m
  ←[;1m←[34m340 |←[0m←[0m   blah ←[;1m←[31m&lt;-←[0m←[0m blah blah blah
  ←[;1m←[34m    |←[0m←[0m←[;1m←[31m         ^^←[0m←[0m
  ←[0m←[0m←[0m
  </code></pre>
  
  <p>Is this a bug in stack, or is there a setting to fix it?</p>
  
  <p>Thanks!</p>