Recent Activity
- Project Status: On Hold
- Version: 0.3.1
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:
1gem install rawlineUsage
Editor initialization:
Key binding:
Setup word completion
Read input:
1editor.read("=> ", true)
Replacing Readline
Simply include the RawLine (or Rawline) module:
1include Rawline
…and you’ll get:
but also:
1Rawline.editor # RawLine::Editor
…which opens a world of endless possibilities! ;-)
Latest Updates
- Real-world Rawline usage (Friday, 06 March 2009)
- RawLine 0.3.0 released — now with Readline emulation (Saturday, 28 February 2009)
- New Release: RawLine 0.2.0 (Tuesday, 01 April 2008)
- InLine name change: what’s your opinion? (Wednesday, 26 March 2008)
- RawLine – a 100% Ruby solution for console inline editing (Sunday, 09 March 2008)