From: noreply@... Date: 2005-10-24T06:15:45+09:00 Subject: [ ruby-Bugs-2705 ] Handle prompts with newlines in irb auto-indentation mode Bugs item #2705, was opened at 2005-10-23 23:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=2705&group_id=426 Category: Standard Library Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nikolai Weibull (pcp) Assigned to: Nobody (None) Summary: Handle prompts with newlines in irb auto-indentation mode Initial Comment: Currently, irb won't handle a prompt with an embedded newline when calculating the length of the "previous line" of the prompt to folllow by auto-indentation. The attached patch removes the part of the prompt up to a final newline so that that part of the prompt isn't included in the calculation of the length of the prompt. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=2705&group_id=426