judah / 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

add getInputChar' which reads any character not just printable #190

Open juhp opened 3 months ago

juhp commented 3 months ago

A general variant of getInputChar which also reads non-printable characters like '\n' etc.

A better or more descriptive name might be getAnyChar or getInputCharAny perhaps?