Afterburn/clipodder — pull request #7 by cdepillabout (2011-11-21 07:39:13+00:00)
Title: colors

This adds colors to the output. "Skipping" is printed in blue and "Downloading" is printed in green. Colors are not printed if the option is not specified in the config file, or if stdout is not the console.

The color() function ended up being a little more complicated than I would have liked. Feel free to fix it up any way you see fit.

(I mostly wanted colors because it is hard to see what is being donwloaded, what is being skipped. With colors, it is obvious at a glance.)