3 You can use this tool to display all supported colors and their color number.
4 It will exit after a keypress.
12 def print_all_colors(attr
):
13 for c
in range(0, curses
.COLORS
):
15 win
.addstr(str(c
) + ' ', color_pair(c
) | attr
)
17 win
.addstr("available colors: %d\n\n" % curses
.COLORS
)
20 print_all_colors(A_BOLD
)