Hi

   getChar doesn't return until I press Enter. I need something that
returns immediately after I press any key.

It's a problem with buffering:

http://haskell.org/hoogle/?q=buffering

suggests:

hSetBuffering stdin NoBuffering

Thanks

Neil
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to