I\'m writing a terminal-mode program in Haskell. How would I go about reading raw keypress information?
In particular, there seems to be something providing line-edi
I think you are looking for hSetBuffering. StdIn is line buffered by default, but you want to receive the keys right away.