Lines Matching refs:curses
7 import curses
16 if curses.has_colors():
18 color = curses.color_pair(z)
20 color = color | curses.A_BOLD
31 if curses.has_colors():
32 bg = curses.COLOR_BLACK
33 curses.init_pair(1, curses.COLOR_BLUE, bg)
34 curses.init_pair(2, curses.COLOR_CYAN, bg)
36 curses.nl()
37 curses.noecho()
42 c = curses.COLS - 4
43 r = curses.LINES - 4
92 curses.napms(50)
94 curses.wrapper(main)