nooogle / CDS.CSharpScripting

Drop-in user control for C# editing with intellisense and compilation. Script compilation and execution classes for GUI and console applications.
MIT License
9 stars 3 forks source link

WriteLine for some output appears without line break #3

Closed nooogle closed 3 years ago

nooogle commented 3 years ago

// This doesn't work properly var dd = new[] { 1, 2, 3 }; foreach (var d in dd) Console.WriteLine(d);

nooogle commented 3 years ago

Fixed - the console hooker must override (On TextWriter):

In combination these allow all Write(...) and WriteLine(...) calls to be correctly handled and redirected to the output window.