Subj : printf and color codes
To : MCMLXXIX
From : Nightfox
Date : Mon Jan 21 2013 12:36 pm
> I think you're right about this.. if printf is able to handle ctrl-A codes
> it likely should be able to format them correctly.. you can work around it
> though.
>
> var diff = str.length - console.strlen(str);
> printf("%-*s",25+diff,str);
That's true. Workarounds are always possible, and I've found other
workarounds for my needs as well. Just thought I'd point it out though
because it seemed odd.
Nightfox
---
� Synchronet � Digital Distortion BBS - digitaldistortionbbs.com