mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-05 04:44:12 +03:00
Re-enable colorized text.
This commit is contained in:
parent
787f29e629
commit
c3e35e5b7d
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user