gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r209736 - /gump/branches/Gump3/pygump/python/gump/util/__init__.py
Date Fri, 08 Jul 2005 11:35:30 GMT
Author: leosimons
Date: Fri Jul  8 04:35:28 2005
New Revision: 209736

URL: http://svn.apache.org/viewcvs?rev=209736&view=rev
Log:
Use 'reset' instead of 'black' for the 'default' text color so that the colored output looks
okay on a white-on-black terminal

Modified:
    gump/branches/Gump3/pygump/python/gump/util/__init__.py

Modified: gump/branches/Gump3/pygump/python/gump/util/__init__.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/util/__init__.py?rev=209736&r1=209735&r2=209736&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/util/__init__.py (original)
+++ gump/branches/Gump3/pygump/python/gump/util/__init__.py Fri Jul  8 04:35:28 2005
@@ -34,7 +34,8 @@
     Bright_Purple =    ''
     Bright_Cyan   =    ''
     
-    Black         =    ''
+    Reset         =    ''
+    Black         =    Reset
     Grey          =    ''
     Bright_Grey   =    ''
     White         =    ''
@@ -54,7 +55,9 @@
         self.Bright_Purple =    '\033[1;35m'
         self.Bright_Cyan   =    '\033[1;36m'
         
-        self.Black         =    '\033[0;30m'
+        self.Reset         =    '\033[0m'
+        #self.Black         =    '\033[0;30m'
+        self.Black         =    self.Reset
         self.Grey          =    '\033[0;37m'
         self.Bright_Grey   =    '\033[1;30m'
         self.White         =    '\033[1;37m'



Mime
View raw message