From: Marc Heiler Date: 2011-10-04T22:07:52+09:00 Subject: Readline question - completely replace input? Hi. This is a strange question perhaps ... I use Readline.readline to fetch user input. Now if the user types: "abc" And then presses tab, I want this to complete to: "do_action foobar" So, yes, the original input "abc" no longer has anything to do with the end result. :) Is this possible? So far I am using Readline only to do something like: "do" expand into "do_action " But it would be kind of neat to both append something specifically after TAB was pressed, and to also completely change the original input at the same time. -- Posted via http://www.ruby-forum.com/.