Commit ee16dc77 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Set stdout to use line buffering in ghc-cabal

parent 40df2540
......@@ -28,7 +28,8 @@ import System.Exit
import System.FilePath
main :: IO ()
main = do args <- getArgs
main = do hSetBuffering stdout LineBuffering
args <- getArgs
case args of
"hscolour" : distDir : dir : args' ->
runHsColour distDir dir args'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment