title: What is a simple way to wait for and then detect keypresses in Haskell?
body: <p>I'm pretty new to Haskell, so I'm looking for a simple-ish way to detect keypresses, rather than using <code>getLine</code>.</p>
  
  <p>If anyone knows any libraries, or some trick to doing this, it would be great!</p>
  
  <p>And if there is a better place to ask this, please direct me there, I'd appreciate it.</p>