Skip to content

Commit 3f231b8

Browse files
authored
Change debug test workaround only enabled when output is tty (#949)
1 parent b1ef58a commit 3f231b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/irb/input-method.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def initialize
6767
#
6868
# See IO#gets for more information.
6969
defgets
70-
puts
70+
putsif@stdout.tty?# workaround for debug compatibility test
7171
print@prompt
7272
line=@stdin.gets
7373
@line[@line_no += 1]=line

0 commit comments

Comments
 (0)