How to print output and ask input on the same line

leledumbo leledumbo_cool at yahoo.co.id
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: http://www.nabble.com/How-to-print-output-and-ask-input-on-the-same-line-tp19487040p19487319.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com.



More information about the Glasgow-haskell-users mailing list