On 29.06.2011, at 01:19, Johannes Schlüter wrote: > On Tue, 2011-06-28 at 23:37 +0100, Arpad Ray wrote: >> - Colours messages according to their response code (success=green, >> client error=yellow, server error=red) > > I would prefer if this would be an ini option (if (cli_web_server.color > && isatty) color = true) default can be on, but I've seen cases where > such magic failed and created hard-to use results (due to control > sequences in log files or such).
The code could detect if it's outputting to a TTY or not and only use color codes if the output isn't redirected somewhere else. David
smime.p7s
Description: S/MIME cryptographic signature