We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 232eb88 commit aa4ab4bCopy full SHA for aa4ab4b
cli/app/anti-oracle.hs
@@ -1,4 +1,9 @@
1
import Oracle.Process (oracleProcess, parseArgs)
2
+import System.IO (BufferMode (..), hSetBuffering, stdin, stdout)
3
4
main :: IO ()
-main = parseArgs >>= oracleProcess
5
+main = do
6
+ hSetBuffering stdin LineBuffering
7
+ hSetBuffering stdout LineBuffering
8
+ args <- parseArgs
9
+ oracleProcess args
0 commit comments