"Adrian May" <[EMAIL PROTECTED]> writes: > Therefore I need a non-blocking keyboard peek function. > So far, my searching only lead to some stuff about using threads > in GHC but that seems far too complicated and messy.
Look in the standard IO library for 'hReady', which is a non-blocking check for input on a Handle. (You will also need to ensure that the Handle/terminal is set to NoBuffering, etc.) Regards, Malcolm _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe