Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 11 years ago

Closed 11 years ago

#49 closed defect (invalid)

Long lines don't get printed until next '\n'

Reported by: Lukáš Mejdrech Owned by:
Priority: major Milestone:
Component: Version: mainline
Keywords: long line string print Cc:
Blocker for: Depends on:
See also:

Description

Happens if you try to printf() a line which doesn's fit on one output line of the console.
The cursor blinks at the start of the hidden line.
The line appears when you printf() another new line character ('\n'), in new or the same printf() call.
Revision 4651(+-) worked fine.

Change History (1)

comment:1 Changed 11 years ago by Jiri Svoboda

Resolution: invalid
Status: newclosed

Not a defect. Console output is buffered with line granularity. To see the output you must either terminate the string with a '\n' or fflush(stdout).

Note: See TracTickets for help on using tickets.