I'm pretty new to Haskell, so I'm looking for a simple-ish way to detect keypresses, rather than using getLine
.
If anyone knows any libraries, or some trick to doing this, it would be great!
And if there is a better place to ask this, please direct me there, I'd appreciate it.