summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlanHawkins <>2019-03-15 01:57:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-03-15 01:57:00 (GMT)
commiteb6780f990efe1a35eb61fe535302fe6d15ec7eb (patch)
tree11254dc47b144543523a6c6c6c992e2203e1dc9f
parent2dc7d08e1b51ba401b9007e320502647f3f4dda7 (diff)
version 0.1.0.5HEAD0.1.0.5master
-rw-r--r--Main.hs2
-rw-r--r--timeconsole.cabal2
2 files changed, 3 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index 814f590..8ee9d36 100644
--- a/Main.hs
+++ b/Main.hs
@@ -15,8 +15,10 @@ sequenceWhileTrue (m:ms) = do
main = do
(x:xs) <- getArgs
+ hSetBuffering stdout NoBuffering
(_, Just hout, _, _) <-
createProcess (proc x xs) {std_out = CreatePipe}
+ hSetBuffering hout NoBuffering
sequenceWhileTrue $
((flip map) [1..] (\x -> do
((more,line0),time0) <- timeAction $ do
diff --git a/timeconsole.cabal b/timeconsole.cabal
index 3042a2e..3def2e7 100644
--- a/timeconsole.cabal
+++ b/timeconsole.cabal
@@ -1,5 +1,5 @@
name: timeconsole
-version: 0.1.0.4
+version: 0.1.0.5
cabal-version: >=1.10
build-type: Simple
license: GPL-2