Lines Matching defs:curses
0 """curses
3 The main package for curses support for Python. Normally used by importing
6 import curses
7 from curses import textpad
8 curses.initscr()
19 # versions of SGI's curses don't define values for those constants
22 # _curses module to the curses package's dictionary. Don't do 'from
23 # curses import *' if you'll be needing the ACS_* constants.
26 import _curses, curses
34 setattr(curses, key, value)
43 import _curses, curses
46 curses.COLORS = _curses.COLORS
48 curses.COLOR_PAIRS = _curses.COLOR_PAIRS
58 # Wrapper for the entire curses-based application. Runs a function which
59 # should be the rest of your curses-based application. If the application
64 """Wrapper function that initializes curses and calls another function,
72 # Initialize curses
82 # a special value like curses.KEY_LEFT will be returned
87 # works around a minor bit of over-conscientiousness in the curses