Show More
@@ -1719,7 +1719,10 b' are you sure you want to review/edit and' | |||||
1719 | self.yscreensize, self.xscreensize = self.stdscr.getmaxyx() |
|
1719 | self.yscreensize, self.xscreensize = self.stdscr.getmaxyx() | |
1720 |
|
1720 | |||
1721 | curses.start_color() |
|
1721 | curses.start_color() | |
1722 | curses.use_default_colors() |
|
1722 | try: | |
|
1723 | curses.use_default_colors() | |||
|
1724 | except curses.error: | |||
|
1725 | self.usecolor = False | |||
1723 |
|
1726 | |||
1724 | # available colors: black, blue, cyan, green, magenta, white, yellow |
|
1727 | # available colors: black, blue, cyan, green, magenta, white, yellow | |
1725 | # init_pair(color_id, foreground_color, background_color) |
|
1728 | # init_pair(color_id, foreground_color, background_color) |
General Comments 0
You need to be logged in to leave comments.
Login now