parent
e90b1a8d7f
commit
c57abb9c87
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue