README 757 B

1234567891011121314151617181920212223
  1. TTY::Reader provides independent reader component for TTY toolkit.
  2. A pure Ruby library that provides a set of methods for processing
  3. keyboard input in character, line and multiline modes. It maintains
  4. history of entered input with an ability to recall and re-edit those
  5. inputs. It lets you register to listen for keystroke events and trigger
  6. custom key events yourself.
  7. The tty-reader is not compatible with the GNU Readline
  8. and doesn't aim to be.
  9. Features
  10. Pure Ruby
  11. Reading single keypress
  12. Line editing
  13. Reading multiline input
  14. Ability to register for keystroke events
  15. Track input history
  16. No global state
  17. Works on Linux, OS X, FreeBSD and Windows
  18. Supports Ruby versions >= 2.0.0 & JRubyNumber of prompt types for
  19. gathering user input