Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argonix
Commits
578c83c5
Commit
578c83c5
authored
Feb 16, 2019
by
Valentin Reis
Browse files
adding hSetBuffering.
parent
9fa38482
Pipeline
#5363
passed with stage
in 1 minute and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Argonix.hs
View file @
578c83c5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment