You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IRB currently prints most of its output to STDOUT by calling puts directly. This means changing the output target is very difficult (e.g. print to a socket instead, which ruby/debug supports).
The text was updated successfully, but these errors were encountered:
Make InputMethod act as IOMethod. That is, make it responsible for output too (by adding puts and print methods to it?) as Reline/ReadlineInputMethod both already hold @stdout anyway.
Change all Kernel#puts invocation to irb_context.io.puts (with some refactors, ofc).
IRB currently prints most of its output to STDOUT by calling
puts
directly. This means changing the output target is very difficult (e.g. print to a socket instead, whichruby/debug
supports).The text was updated successfully, but these errors were encountered: