On Wed, Feb 20, 2013 at 1:11 PM, R. Kumar <[email protected]> wrote:
> I am redoing some zsh apps in ruby (commandline). One functionality was
> that of zsh's vared, which allows editing of a variable. (it also allows
> tab completion of paths which was a big bonus).
>
> The closest I could get in ruby was the String.gets(), however this
> gives a blank string to the user. From what i recall Highline allows
> using the arrow key to get history (which is great) but not the same.
>
> Is this functionality implemented somewhere that I've missed? Or in some
> gem?

Off the top of my head "readline" might help.  See "ri Readline".

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

-- 
[email protected] | 
https://groups.google.com/d/forum/ruby-talk-google?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"ruby-talk-google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to