Skip to content

Commit

Permalink
[ruby/irb] Change debug test workaround only enabled when output is
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored and matzbot committed May 4, 2024
1 parent bd42f08 commit 96710a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irb/input-method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def initialize
#
# See IO#gets for more information.
def gets
puts
puts if @stdout.tty? # workaround for debug compatibility test
print @prompt
line = @stdin.gets
@line[@line_no += 1] = line
Expand Down

0 comments on commit 96710a3

Please sign in to comment.