Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Help With Toilet App Please
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="HermesSysOp" data-source="post: 1651752" data-attributes="member: 346494"><p>You know, one thing I just noticed though when looking at the output text is that it is seriously redundant.</p><p></p><p>What I mean is this. For every single color switch, it is like this, for example:</p><p></p><p><-[0;1;33m</p><p></p><p>The entire output is in bold colors, so there is no need to turn off bold, and then turn it on again for each color switch.</p><p></p><p>In fact, in the empty spaces between the characters and color switches, it also repeatedly has this:</p><p></p><p><-[0;37;40</p><p></p><p>Again, very unnecessary.</p><p></p><p>All the output needs is ONE bold code, with one black background code at the very beginning of the file, and both will be carried through to the end of the file for all characters and foreground colors concerned.</p><p></p><p>Anyway, I cleaned up the code, and it looks a lot nicer, and is easier to read.</p><p></p><p>But again, thanks so much for your help. Your response was right on spot, even if I did not understand it at first.</p></blockquote><p></p>
[QUOTE="HermesSysOp, post: 1651752, member: 346494"] You know, one thing I just noticed though when looking at the output text is that it is seriously redundant. What I mean is this. For every single color switch, it is like this, for example: <-[0;1;33m The entire output is in bold colors, so there is no need to turn off bold, and then turn it on again for each color switch. In fact, in the empty spaces between the characters and color switches, it also repeatedly has this: <-[0;37;40 Again, very unnecessary. All the output needs is ONE bold code, with one black background code at the very beginning of the file, and both will be carried through to the end of the file for all characters and foreground colors concerned. Anyway, I cleaned up the code, and it looks a lot nicer, and is easier to read. But again, thanks so much for your help. Your response was right on spot, even if I did not understand it at first. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Help With Toilet App Please
Top