[ruby/irb] Add workaround for ruby/debug/test/console/irb_test

failing with StdioInputMethod
(https://github.com/ruby/irb/pull/943)

https://github.com/ruby/irb/commit/acf3c1816e
This commit is contained in:
tomoya ishida 2024-05-03 01:21:41 +09:00 committed by git
parent 7c0cf71049
commit 032070d793

View File

@ -67,6 +67,7 @@ module IRB
#
# See IO#gets for more information.
def gets
puts
print @prompt
line = @stdin.gets
@line[@line_no += 1] = line