SlackBuilds Repository

15.0 > Ruby > tty-reader (0.9.0)

TTY::Reader provides independent reader component for TTY toolkit.

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.

The tty-reader is not compatible with the GNU Readline
and doesn't aim to be.

Pure Ruby
Reading single keypress
Line editing
Reading multiline input
Ability to register for keystroke events
Track input history
No global state
Works on Linux, OS X, FreeBSD and Windows
Supports Ruby versions >= 2.0.0 & JRubyNumber of prompt types for
gathering user input

This requires: wisper, tty-screen, tty-cursor

Maintained by: Tonus
ChangeLog: tty-reader


Source Downloads:
tty-reader-0.9.0.gem (c31a13e1210fb397e25fd9e115c5f8e0)

Download SlackBuild:
tty-reader.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds