branch : pmacs2
This commit is contained in:
moculus 2009-01-16 00:07:53 +00:00
parent e90b1a8d7f
commit c57abb9c87
1 changed files with 5 additions and 1 deletions

View File

@ -66,14 +66,18 @@ class Application(object):
color.default_color = True
except:
color.default_color = False
color.init()
# this is how we can change color settings
if curses.can_change_color():
#curses.init_color(curses.COLOR_YELLOW, 750, 766, 888)
#curses.init_color(curses.COLOR_BLUE, 750, 400, 0)
#curses.init_color(curses.COLOR_YELLOW, 222, 400, 900)
#curses.init_color(curses.COLOR_GREEN, 222, 400, 900)
#curses.init_color(curses.COLOR_RED, 222, 400, 222)
pass
else:
self.set_error("Dynamic color not available")
color.init()
# initialize our modes
# the first dict stores our modes by (lowercase) name, and the other