stack-1.6.5 used ansi-terminal-0.7.1.1, while the stack-1.7 release candidates 
use ansi-terminal-0.8.0.2.  According to the ChangeLog, there have been some 
changes on Windows.  Perhaps you could try building `stack` with 
ansi-terminal-0.7.1.1 on Windows and see if that makes a difference?

> On Apr 19, 2018, at 3:53 AM, Murat Özsöyler <murat.ozsoy...@gmail.com> wrote:
> 
> Strange! Same terminal (VSCode 1.22.2):<image.png>
> Next command:
> <image.png>
> Even in the same command it doesn't work and then works later. Something 
> wrong with the stack coloring logic I think.
> 
> 
> 19 Nis 2018 Per, 12:52 tarihinde, Murat Özsöyler <murat.ozsoy...@gmail.com 
> <mailto:murat.ozsoy...@gmail.com>> şunu yazdı:
> Hi Niklas,
> 
> Thank you for your attention.
> 
> As I mentioned before I upgraded stack form 1.6.x (I think) to 1.7.0.1 as per 
> Michael Snoyman's suggestion. From then on the output is like this:
> <image.png>
> Before no problem were in the color.
> 
> The upgrade was mandatory for me to upgrade inner hpack of stack.
> 
> Regards,
> 
> Murat Özsöyler
> 
> 18 Nis 2018 Çar, 18:47 tarihinde <nik...@fpcomplete.com 
> <mailto:nik...@fpcomplete.com>> şunu yazdı:
> Hey Murat,
> 
> can you clarify which colour output you mean? The colour output by stack 
> itself, e.g. what `stack build -v` does, or the coloured output as piped from 
> ghc compile error messages?
> 
> I've tried the version you mentioned on Windows but my PowerShell seems to 
> print both as expected.
> 
> A screenshot would also help, or information on what repo/code you see it on 
> if it is open source.
> 
> Niklas
> 
> On Tuesday, April 17, 2018 at 1:54:18 PM UTC+2, Murat Özsöyler wrote:
> I recently upgraded to stack 1.7.0.1. Although it has many advances from 
> previous version I used, there is a minor fault: I does not color the output 
> on Windows powershell terminal  and puts some cryptic color codes instead. 
> CMD terminal does not work as well.
> 
> Although I stated this is a minor issue, color takes attention to the errors 
> easily so one doesn't pay extra attention to find them, meaning less stress 
> on eyes in long hours work.
> 
> How can I get the colors back again ? :)
> 
> Thanks for your help in advance.
> -- 
> Saygılarımla,
> 
> Murat Özsöyler
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "haskell-stack" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to haskell-stack+unsubscr...@googlegroups.com 
> <mailto:haskell-stack+unsubscr...@googlegroups.com>.
> To post to this group, send email to haskell-stack@googlegroups.com 
> <mailto:haskell-stack@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/haskell-stack/ecafa6d8-8819-4456-8d35-cebeec441a60%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/haskell-stack/ecafa6d8-8819-4456-8d35-cebeec441a60%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> -- 
> Saygılarımla,
> 
> Murat Özsöyler
> 
> -- 
> Saygılarımla,
> 
> Murat Özsöyler
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "haskell-stack" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to haskell-stack+unsubscr...@googlegroups.com 
> <mailto:haskell-stack+unsubscr...@googlegroups.com>.
> To post to this group, send email to haskell-stack@googlegroups.com 
> <mailto:haskell-stack@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/haskell-stack/CAFnJcURiRYx%3DTD4TdqBkkiq5pj4BV9Y4u%2BhZBzh3F5hRTEnqKg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/haskell-stack/CAFnJcURiRYx%3DTD4TdqBkkiq5pj4BV9Y4u%2BhZBzh3F5hRTEnqKg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-stack+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-stack@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/EA73DD55-3C13-49D2-8F1B-F4D73E377BEC%40fpcomplete.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to