www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15786] New: Line buffering not activated for stdout when

https://issues.dlang.org/show_bug.cgi?id=15786

          Issue ID: 15786
           Summary: Line buffering not activated for stdout when running D
                    programs under Eclipse
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: bruno.do.medeiros+deebugz gmail.com

When running D programs under the Eclipse terminal, writeln and similar calls 
ones do not flush the output, because apparently (according to Adam Ruppe) D
does not detect the program is connected to an interactive terminal, it thinks
it is writing to a normal file.
More info here:
http://stackoverflow.com/questions/19498040/eclipse-console-writes-output-only-after-the-program-has-finished

--
Mar 11 2016