I use color a lot in my scripts. My TCC has a black background and I find things look much prettier if I can colorize the output. I have two functions that do this...SetColor and EchoColor.
EchoColor: This is used to print one line in color. After that line is printed it goes back to the default. This used SetColor to do the heavy lifting. Useful for short little colored lines.
SetColor: This will turn on a color with ANSI sequences and everything that is echoed after this command...
Read more
EchoColor: This is used to print one line in color. After that line is printed it goes back to the default. This used SetColor to do the heavy lifting. Useful for short little colored lines.
SetColor: This will turn on a color with ANSI sequences and everything that is echoed after this command...
Read more