From: Thomas Chust Date: 2009-08-06T04:43:32+09:00 Subject: Re: Change console forground to Red or Green 2009/8/5 Laup-Dawg : > [...] > I'm looking for a way to change a Window's console foreground color in > Ruby.  I have a script that outputs passes and fails and I would like > to know how to change the text to green or red specfically. > [...] Hello, if you want complex text user interface functionality, you can use Curses. If you just want to color some of the output, the term-ansicolor gem may be handy -- try something like this: require 'term/ansicolor' puts 'The test ' + Term::ANSIColor.red('failed') cu, Thomas -- When C++ is your hammer, every problem looks like your thumb.