
26 Jan
2013
26 Jan
'13
8:34 p.m.
I'm trying SDL on Windows, and things are getting really weird. I can compile the code (links on the end). When I run it, if I try using `stdin` the program crashes with this message: <stdin>: hGetLine: invalid argument (Bad file descriptor) Is it something to do with SDL itself? What am I doing wrong? :( Code: http://hpaste.org/81321 Cabal file: http://hpaste.org/81322 Thanks.