How to print output and ask input on the same line
Austin Seipp
mad.one at gmail.com
Mon Sep 15 00:53:38 EDT 2008
It's a buffering issue. You'll need to do:
> hSetBuffering stdout NoBuffering
Before running putStr and doing readLn.
Austin
More information about the Glasgow-haskell-users
mailing list