printf('\r') supported in Xcode 6.4 console window?
printf('\r') supported in Xcode 6.4 console window?
- Subject: printf('\r') supported in Xcode 6.4 console window?
- From: Carl Hoefs <email@hidden>
- Date: Fri, 07 Aug 2015 15:33:09 -0700
For debugging my app I need to watch the progress of a buffer getting filled with data, so I'd like to be able to print to the Xcode console window a single formatted text line that updates 1000 times in place. Outside of Xcode I would do this with printf's having '\r' carriage returns instead of '\n' CR/LF characters. However, Xcode seems to have anticipated my move, and instead gleefully interprets '\r' as equivalent to '\n'.
I'm probably stuck in the "operates as designed" syndrome, but I'd thought I'd ask if what I'm trying to do is possible.
-Carl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden