Add a comment about why color support was disabled for now

git-svn-id: file:///home/svn/framework3/trunk@4397 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-02-16 05:22:36 +00:00
parent 839ac9fc38
commit 0b42f16d1f
1 changed files with 2 additions and 1 deletions

View File

@ -178,8 +178,9 @@ module Shell
# console.
#
def supports_color?
# Color is disabled until we resolve some bugs
return false
begin
(ENV['TERM'].match(/(?:vt10[03]|xterm(?:-color)?|linux|screen)/i) != nil)
rescue