Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13765

Flushing application output automatically starts a new line

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P5: Not important
    • None
    • Qt Creator 3.3.0
    • None
    • Mac OS X 10.10

    Description

      When I call fflush(stdout) or std::cout << std::flush, the output in the application output pane automatically starts a new line.
      I am printing out the progress of my program on the same line with '\r', if I don't flush the output, the progress is not printed until it finishes. If I flush output, then application output pane just starts a new line making program print many lines of progress output.

      If I run my program in terminal, it does not have this problem, all the outputs are printed out on the same line.

      Attachments

        Activity

          People

            hunger Tobias Hunger
            serpheroth Xiaofeng Wu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: