TTY::Reader

> A pure Ruby library that provides a set of methods for processing keyboard
  input in character, line and multiline modes. It maintains history of
  entered input with an ability to recall and re-edit those inputs. It lets
  you register to listen for keystroke events and trigger custom key events
  yourself.

TTY::Reader provides independent reader component for TTY
(https://github.com/piotrmurach/tty) toolkit.

Homepage:
https://ttytoolkit.org/
