def config_curses(self):
# use the default colors of the terminal
curses.use_default_colors ( )
# hide the cursor
curses.curs_set (0)
# add some color for multi_select
# @todo make colors configurable
curses.init_pair (1, curses.COLOR_GREEN, curses.COLOR_WHITE)
评论列表
文章目录