How to print output and ask input on the same line

leledumbo leledumbo_cool at
Mon Sep 15 01:03:20 EDT 2008

Austin Seipp wrote:
> It's a buffering issue. You'll need to do:
>> hSetBuffering stdout NoBuffering
> Before running putStr and doing readLn.
Just as I thought. Thanks, I'll try when I get home.
View this message in context:
Sent from the Haskell - Glasgow-haskell-users mailing list archive at

More information about the Glasgow-haskell-users mailing list