J
Jacklty Lam
How to turn off input echo in irb?
jacklty
jacklty
Jacklty said:How to turn off input echo in irb?
jacklty
David said:irb is a read-eval-print-loop, why would you ever want to do that? If
you need just the output of some Ruby code, put it in a file and run it
with the ruby interpreter instead of irb.
David Vallner
Jacklty said:I am trying to write a irb console in my java app (Using JTextArea and
Runtime). I got it work nicely, but irb always repeats the user input
after the enter key. That's why I want to disable the input echo.
If you are using irb in irb-mode in Emacs, then why would you want theirb is a read-eval-print-loop, why would you ever want to do that? If
you need just the output of some Ruby code, put it in a file and run it
with the ruby interpreter instead of irb.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.