@@ -112,6 +112,7 @@ idrisMain opts =
112 putIState (i { default_total = DefaultCheckingTotal })
112 putIState (i { default_total = DefaultCheckingTotal })
113 tty <- runIO isATTY
113 tty <- runIO isATTY
114 setColourise $ not quiet && last (tty : opt getColour opts)
114 setColourise $ not quiet && last (tty : opt getColour opts)
115+ runIO $ hSetBuffering stdout LineBuffering
@@ -181,8 +182,6 @@ idrisMain opts =
182 (f:_) -> f
183 (f:_) -> f
184− runIO $ hSetBuffering stdout LineBuffering
186 ok <- noErrors
185 ok <- noErrors
187 when ok $ case output of
186 when ok $ case output of
188 [] -> return ()
187 [] -> return ()