RawLine is a 100% Ruby alternative to the ReadLine library, providing some of its most popular features such as:
- Basic line editing operations
- Word completion
- History Management
- Custom key/key sequences bindings
Installation ⇈
The simplest method to install RawLine is to install the gem:
/bin/sh: chroma: not foundUsage ⇈
Editor initialization:
/bin/sh: chroma: not foundKey binding:
/bin/sh: chroma: not foundSetup word completion
/bin/sh: chroma: not foundRead input:
/bin/sh: chroma: not foundReplacing Readline ⇈
Simply include the RawLine (or Rawline) module:
/bin/sh: chroma: not found…and you’ll get:
/bin/sh: chroma: not foundbut also:
/bin/sh: chroma: not found…which opens a world of endless possibilities! ;-)