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?

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:[email protected]] 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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs