[Mono-bugs] [Bug 632009] New: Setting Console.TreatControlCAsInput to true causes subsequent newlines in the console to break

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 17 15:12:47 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=632009

https://bugzilla.novell.com/show_bug.cgi?id=632009#c0


           Summary: Setting Console.TreatControlCAsInput to true causes
                    subsequent newlines in the console to break
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: imphasing at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US)
AppleWebKit/534.6 (KHTML, like Gecko) Chrome/6.0.490.1 Safari/534.6

Setting Console.TreatControlCAsInput = true causes subsequent newlines printed
to the console to appear as boxes instead of newlines.

Sample code demonstrating bug:

using System;

class Example 
{
    public static void Main() 
    {
        Console.TreatControlCAsInput = true;

        Console.WriteLine("line1");
        Console.WriteLine("line2");
    }
}

Reproducible: Always

Steps to Reproduce:
1. Compile sample code
2. Run sample
3.
Actual Results:  
line1line2 (with boxes where newlines should be)

Expected Results:  
line1
line2

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list