Forum: Ruby can not show bright_green color at windows terminal

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?
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.