diff --git a/lib/irb.rb b/lib/irb.rb index 44477b487f..57ec911f34 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -535,7 +535,6 @@ module IRB prompt_i = @context.prompt_i.nil? ? "" : @context.prompt_i ind = prompt(prompt_i, ltype, indent, line_no)[/.*\z/].size + indent * 2 - p.size - ind += 2 if continue @context.io.prompt = p + " " * ind if ind > 0 end end