Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #370 (closed defect: wontfix)

Opened 14 years ago

Last modified 14 years ago

console flushing

Reported by: kris Assigned to: kris
Priority: normal Milestone: 0.97 RC 1
Component: IO Version:
Keywords: Cc:

Description

The console is an annoying creature. Instead of requiring a flush() where appropriate, like any reasonable buffered file, all kinds of convenience factors have historically been wrapped around it.

For instance, emitting a newline is expected to flush the output; but only in interactive mode. When the console is redirected, the flush() is expected to be disabled, so the application runs faster with large quantities of redirected IO.

To make matters worse, failing to be explicit about either a newline or flush is still expected to result in useful interactive behaviour e.g. emitting content with an embedded newline.

Change History

04/04/07 01:29:37 changed by kris

  • status changed from new to assigned.

after some discussion on the matter, we are leaning toward removal of these special cases

04/09/07 19:30:23 changed by kris

  • status changed from assigned to closed.
  • resolution set to wontfix.

Closing at this time. Reopen if it takes on a new life ... too many special cases for our liking