haskell / haskeline

A Haskell library for line input in command-line programs.
https://hackage.haskell.org/package/haskeline
BSD 3-Clause "New" or "Revised" License
221 stars 75 forks source link

Feature Request: Get a key (even-non printing ones) #74

Closed Lokathor closed 5 years ago

Lokathor commented 6 years ago

Currently there is getInputChar, which skips all non-printing inputs. Can the internal mechanism that it uses to get a single input and then check it be exposed directly so that we can do classic terminal things like "press any key to continue"?