Re-enable colorized text.

This commit is contained in:
Erik Svedäng 2019-10-15 09:41:41 +02:00
parent 787f29e629
commit c3e35e5b7d

View File

@ -24,7 +24,7 @@ putStrWithColor :: TextColor -> String -> IO ()
putStrWithColor color str =
do
istty <- hSupportsANSIColor stdout
putStr $ if istty && platform /= Windows && False then strWithColor color str else str
putStr $ if istty && platform /= Windows then strWithColor color str else str
putStrLnWithColor :: TextColor -> String -> IO ()
putStrLnWithColor color str = putStrWithColor color (str ++ "\n")