Forum: Ruby can not show bright_green color at windows terminal

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
444bf9aa226296da460bbcf3c84b99bd?d=identicon&s=25 hgyxbll (Guest)
on 2013-09-20 03:45
(Received via mailing list)
At windows 7 x64 .
below ruby code can not see the output at terminal :
print "\e[1;32mi\e[0m"


Is ruby can not show bright_green color at window's terminal?
F549641069ea6946c5cd63bbfb451cd7?d=identicon&s=25 WILLS, JAMAL A (Guest)
on 2013-10-24 16:08
(Received via mailing list)
It looks like you are printing ANSI terminal codes.  This would work
only if your terminal understands those codes. If you are using Windows,
you need to run a terminal emulator that mimics Unix style operation,
not the usual Windows console.

Jamal Wills

From: ruby-talk [mailto:ruby-talk-bounces@ruby-lang.org] On Behalf Of
hgyxbll
Sent: Thursday, September 19, 2013 9:44 PM
To: ruby-talk
Subject: can not show bright_green color at windows terminal


At windows 7 x64 .
below ruby code can not see the output at terminal :
print "\e[1;32mi\e[0m"

Is ruby can not show bright_green color at window's terminal?
This topic is locked and can not be replied to.