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
223 stars 75 forks source link

Turn debugTerminalKeys into a single loop. #111

Closed judah closed 5 years ago

judah commented 5 years ago

Make it a looped KeyCommand inside a single call to runInputCmdT, rather than calling runInputCmdT once for each character.

This hopefully makes it closer to "real" results when entering multiple keys (e.g., holding them down).


This change is Reviewable