rline 0.1.3

Input line retrieval using libreadline's "Alternate Interface".
Documentation

rline

rline is a crate providing a convenient wrapper around libreadline's "Alternate Interface". It provides the goodness of libreadline (its powerful support for inputting text as well as its configurability) while leaving the actual character input in the hands of a user (or developer). This can be a powerful tool for terminal based (but not necessarily command line based) applications that want to handle input on their own terms and only harness libreadline for a subset of their text input needs. But even graphical applications, which typically are not using file stream based input (or a terminal for that matter) at all, are enabled to use libreadline for providing an input experience as usually only known on the command line.

Example Usage

The notnow program is (optionally) using the rline crate for the input of text in its terminal based UI. An example integration can be seen there.