Skip to content

Commit acf3c18

Browse files
authored
Add workaround for ruby/debug/test/console/irb_test failing with StdioInputMethod (#943)
1 parent 241e061 commit acf3c18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/irb/input-method.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def initialize
6767
#
6868
# See IO#gets for more information.
6969
def gets
70+
puts
7071
print @prompt
7172
line = @stdin.gets
7273
@line[@line_no += 1] = line

0 commit comments

Comments
 (0)