Commit 578c83c5 authored by Valentin Reis's avatar Valentin Reis
Browse files

adding hSetBuffering.

parent 9fa38482
Pipeline #5363 passed with stage
in 1 minute and 25 seconds
......@@ -29,6 +29,7 @@ import System.Console.ANSI.Types ( Color )
import Turtle.Shell
import Control.Foldl
import System.Posix.Process
import System.IO hiding ( FilePath )
-- | Miscellaneous printing utilities
colorShell :: Color -> Shell () -> Shell ()
......@@ -66,7 +67,9 @@ checkFsAttributes workingDirectory = do
workingDirectory
main :: IO ()
main = join $ execParser (info (opts <**> helper) idm)
main = do
hSetBuffering System.IO.stdout NoBuffering
join $ execParser (info (opts <**> helper) idm)
where
opts :: Parser (IO ())
opts = hsubparser
......
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