Subj : printf and color codes
To   : Digital Man
From : Nightfox
Date : Tue Jan 22 2013 07:46 am

 Re: printf and color codes
 By: Digital Man to Nightfox on Mon Jan 21 2013 23:56:55

DM> That's not how printf (and the related formatting functions) in C work
DM> however. The width modifier to the %s specifier does not specify the
DM> number of "printable" characters, just the number of characters, period
DM> (which includes non-printable characters, like \a, \b, and so on).

Coming from a C/C++ background, I suspected that was so.  Even then, it seems
somewhat odd..  But oh well, we deal with it. :)

Nightfox


---
� Synchronet � Digital Distortion BBS - digitaldistortionbbs.com