Stan Lo on Nostr: Reline is a pure-Ruby replacement for Unix's Readline, used in tools like IRB and ...
Reline is a pure-Ruby replacement for Unix's Readline, used in tools like IRB and ruby/debug. It's an ambitious project, interacting with various terminal environments on all major OS via (mostly) escape sequences.
The most complicated module? LineEditor:
https://github.com/ruby/reline/blob/master/lib/reline/line_editor.rb
The most complicated module? LineEditor:
https://github.com/ruby/reline/blob/master/lib/reline/line_editor.rb