jeffkreeftmeijer/fuubar — pull request #34 by hron (2012-08-05 10:48:13+00:00)
Title: Print color end esc seq only when colors enabled

Printing "\e[0m" is not a problem for major terminal emulators, but not for Emacs' dump terminal... Progress bar is just not shown when fuubar works inside Emacs' terminal, even when colors are disabled.

With this patch a user is able to disable colors and have progress bar displayed in Emacs.