[Ironruby-core] win32console and color
will at hotgazpacho.org
Sat Jul 11 00:17:00 EDT 2009
Though it's not gemified, it does work for very simple strings (one control
code), and only for Kernel#print. Overriding Kernel#puts would be very
What I could really use help on is parsing the ANSI control codes, for more
complex strings (like setting both foreground and background). Sadly, my
Regex-fu is not very strong.
On Thu, Jul 9, 2009 at 1:08 PM, Ivan Porto Carrero <ivan at flanders.co.nz>wrote:
> This may help, I got the people mixed up it was Will Green who has been
> working on it:
> I guess you'd have to fork it and make it more stable if necessary.
> Met vriendelijke groeten - Best regards - Salutations
> Ivan Porto Carrero
> Blog: http://flanders.co.nz
> Twitter: http://twitter.com/casualjim
> Author of IronRuby in Action (http://manning.com/carrero)
> On Thu, Jul 9, 2009 at 6:03 PM, Mohammad Azam <lists at ruby-forum.com>wrote:
>> I am trying to color my spec results when running specification unit
>> tests. I am using the following:
>> C:> spec test_prime.rb --format nested --color
>> But it tells me to install gem "win32console". So, I installed the gem
>> C:> igem install win32console
>> But still it gives me the same message that I need to install
>> win32console gem.
>> Posted via http://www.ruby-forum.com/.
>> Ironruby-core mailing list
>> Ironruby-core at rubyforge.org
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironruby-core