Skip to content

Commit

Permalink
[ruby/irb] Add workaround for ruby/debug/test/console/irb_test
Browse files Browse the repository at this point in the history
failing with StdioInputMethod
(ruby/irb#943)

ruby/irb@acf3c1816e
  • Loading branch information
tompng authored and matzbot committed May 2, 2024
1 parent 7c0cf71 commit 032070d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/irb/input-method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def initialize
#
# See IO#gets for more information.
def gets
puts
print @prompt
line = @stdin.gets
@line[@line_no += 1] = line
Expand Down

0 comments on commit 032070d

Please sign in to comment.