cloudhead/less.js — pull request #815 by codecustodian (2012-05-28 08:53:16+00:00)
Title: Remove trailing ANSI escape sequences in no-color mode

First of all, thank you for this project.

Running lessc with the '-no-color' option appends the ANSI escape sequence '\033[0m' (reset) to error messages. The ANSI code is visible when displayed in a non-terminal environment. It is also written to log files.

This pull request removes trailing '\033[0m' from error messages. The changes will produce two reset sequences at the end of error messages in a terminal.