From acf3c1816ec7374cd375737711eab390132507fa Mon Sep 17 00:00:00 2001 From: tomoya ishida Date: Fri, 3 May 2024 01:21:41 +0900 Subject: [PATCH] Add workaround for ruby/debug/test/console/irb_test failing with StdioInputMethod (#943) --- lib/irb/input-method.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index e5adb350e..9a24c885b 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -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