Editing Topic: RCR126 Project: RCR | RCRchive home

RCR 126: Enhanced Readline ?

submitted by anonymous on 2002-11-28 08:31:31


This is a legacy RCR. If this is your RCR, please resubmit it using the new format and process.


I would like the Readline module to include a way to access to rl_line_buffer from the inside of ruby.
I would like the Readline module to include a way to access to rl_line_buffer from the inside of ruby.

The goal of this change is to make the Readline module context sensitive when it does its completion.

Currently ing in readline send only the partial word typed (if I type ls x my Readline proc receives 'x' but not the 'ls x' string).

I propose that the rl_line_buffer is tranlated into a module variable so that I can, whenever I want get the whole line content.



Back to RCRchive.


RCR Submission page and RCRchive powered by Ruby, Apache, RuWiki (modified), and RubLog