@@ -112,6 +112,7 @@ idrisMain opts =
112112 putIState (i { default_total = DefaultCheckingTotal })
113113 tty <- runIO isATTY
114114 setColourise $ not quiet && last (tty : opt getColour opts)
115+ runIO $ hSetBuffering stdout LineBuffering
115116
116117
117118
@@ -181,8 +182,6 @@ idrisMain opts =
181182 [] -> ""
182183 (f:_) -> f
183184
184− runIO $ hSetBuffering stdout LineBuffering
185−
186185 ok <- noErrors
187186 when ok $ case output of
188187 [] -> return ()