We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ef58a commit 3f231b8Copy full SHA for 3f231b8
1 file changed
lib/irb/input-method.rb
@@ -67,7 +67,7 @@ def initialize
67
#
68
# See IO#gets for more information.
69
def gets
70
- puts
+ puts if @stdout.tty? # workaround for debug compatibility test
71
print @prompt
72
line = @stdin.gets
73
@line[@line_no += 1] = line
0 commit comments