j
k
j a
j l
It's a buffering issue. You'll need to do:
hSetBuffering stdout NoBuffering
Before running putStr and doing readLn. Austin
Back to the thread
Back to the list