
2 Oct
2003
2 Oct
'03
9:44 a.m.
"Adrian May"
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