• Home
  • Raw
  • Download

Lines Matching refs:curses

26 import curses
32 if curses.has_colors():
34 curses.init_pair(n, color, my_bg)
35 win.attroff(curses.A_COLOR)
36 win.attron(curses.color_pair(n))
39 if curses.has_colors():
40 win.attrset(curses.color_pair(0))
43 curses.napms(msecs)
45 curses.beep()
90 set_color(treescrn, curses.COLOR_GREEN)
136 set_color(treescrn2, curses.COLOR_BLUE)
160 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
161 set_color(treescrn2, curses.COLOR_YELLOW)
172 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
173 set_color(treescrn2, curses.COLOR_WHITE)
179 treescrn2.attroff(curses.A_BOLD | curses.A_BLINK)
187 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
188 set_color(treescrn2, curses.COLOR_WHITE)
197 treescrn2.attroff(curses.A_BOLD | curses.A_BLINK)
205 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
206 set_color(treescrn2, curses.COLOR_WHITE)
217 treescrn2.attroff(curses.A_BOLD | curses.A_BLINK)
225 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
226 set_color(treescrn2, curses.COLOR_WHITE)
242 treescrn2.attroff(curses.A_BOLD | curses.A_BLINK)
250 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
251 set_color(treescrn2, curses.COLOR_WHITE)
262 treescrn2.attroff(curses.A_BOLD | curses.A_BLINK)
340 except curses.error:
453 my_bg = curses.COLOR_BLACK
456 treescrn = curses.newwin(16, 27, 3, 53)
457 treescrn2 = curses.newwin(16, 27, 3, 53)
458 treescrn3 = curses.newwin(16, 27, 3, 53)
459 treescrn4 = curses.newwin(16, 27, 3, 53)
460 treescrn5 = curses.newwin(16, 27, 3, 53)
461 treescrn6 = curses.newwin(16, 27, 3, 53)
462 treescrn7 = curses.newwin(16, 27, 3, 53)
463 treescrn8 = curses.newwin(16, 27, 3, 53)
465 dotdeer0 = curses.newwin(3, 71, 0, 8)
467 stardeer0 = curses.newwin(4, 56, 0, 8)
469 lildeer0 = curses.newwin(7, 53, 0, 8)
470 lildeer1 = curses.newwin(2, 4, 0, 0)
471 lildeer2 = curses.newwin(2, 4, 0, 0)
472 lildeer3 = curses.newwin(2, 4, 0, 0)
474 middeer0 = curses.newwin(15, 42, 0, 8)
475 middeer1 = curses.newwin(3, 7, 0, 0)
476 middeer2 = curses.newwin(3, 7, 0, 0)
477 middeer3 = curses.newwin(3, 7, 0, 0)
479 bigdeer0 = curses.newwin(10, 23, 0, 0)
480 bigdeer1 = curses.newwin(10, 23, 0, 0)
481 bigdeer2 = curses.newwin(10, 23, 0, 0)
482 bigdeer3 = curses.newwin(10, 23, 0, 0)
483 bigdeer4 = curses.newwin(10, 23, 0, 0)
485 lookdeer0 = curses.newwin(10, 25, 0, 0)
486 lookdeer1 = curses.newwin(10, 25, 0, 0)
487 lookdeer2 = curses.newwin(10, 25, 0, 0)
488 lookdeer3 = curses.newwin(10, 25, 0, 0)
489 lookdeer4 = curses.newwin(10, 25, 0, 0)
491 w_holiday = curses.newwin(1, 27, 3, 27)
493 w_del_msg = curses.newwin(1, 20, 23, 60)
497 except curses.error:
502 except curses.error:
512 except curses.error:
521 except curses.error:
530 except curses.error:
694 curses.cbreak()
906 curses.wrapper(main)