[Rspec-devel] --colour : Windows complications

DeeJay smartgpx at gmail.com
Fri Sep 8 07:06:18 EDT 2006

Actually, the code presently in trunk doesn't only 'not support' Windows
users, but positively 'breaks' the screen presentation. [If --colour is
given as an option, so the easy workaround is to leave it out!  :-) ]

Like this -

J:\TryBZR>spec  specs -c


Finished in 0.265 seconds

←[32m28 specifications, 0 failures←[0m

[ Those " <-[#m " sequences are the ansi controls not being interpreted by

Trying to reproduce ansi-terminal functionality with win32console works OK
with a simple 'puts "\e[32m" ', but breaks somewhere in rspec's Formatter
and Reporter classes, because putting @output << "\e[32m"  in the
formatter's dump methods does not have the desired effect

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20060908/248d7cda/attachment.html 

More information about the Rspec-devel mailing list