[Haskell] How to read one char from stdin and return immediately?

Neil Mitchell ndmitchell at gmail.com
Fri Aug 18 08:14:34 EDT 2006


Hi

>          hSetBuffering stdout NoBuffering

Try hSetBuffering stdin NoBuffering, since its stdin you are reading from.

Thanks

Neil


More information about the Haskell mailing list