cleanup comments

pull/24/head
Jake Funke 2019-08-16 17:25:45 +00:00
parent 9bb1f74f74
commit 9d7c5966d3
1 changed files with 1 additions and 1 deletions

View File

@ -57,6 +57,7 @@ class CursedMenu(object):
self.show(["water","look","garden","visit", "instructions"], title=' botany ', subtitle='options') self.show(["water","look","garden","visit", "instructions"], title=' botany ', subtitle='options')
def define_colors(self): def define_colors(self):
# TODO: implement colors
# set curses color pairs manually # set curses color pairs manually
curses.init_pair(1, curses.COLOR_BLACK, curses.COLOR_WHITE) curses.init_pair(1, curses.COLOR_BLACK, curses.COLOR_WHITE)
curses.init_pair(2, curses.COLOR_WHITE, curses.COLOR_BLACK) curses.init_pair(2, curses.COLOR_WHITE, curses.COLOR_BLACK)
@ -355,7 +356,6 @@ class CursedMenu(object):
self.infotoggle = 2 self.infotoggle = 2
# print garden information OR clear it # print garden information OR clear it
# TODO: pagination control with hjkl/arrow keys/esc-or-x to close
index = 0 index = 0
sort_column, sort_ascending = 0, True sort_column, sort_ascending = 0, True
sort_keys = ["n", "a", "s", "d"] # Name, Age, Score, Description sort_keys = ["n", "a", "s", "d"] # Name, Age, Score, Description