ó û^‚Rc@s€dZdZddlTddlmZddlZddlZd„Z d„Z ye Wn!e k r{ddl m Z nXdS( sØcurses The main package for curses support for Python. Normally used by importing the package, and perhaps a particular module inside it. import curses from curses import textpad curses.initscr() ... s$Id$iÿÿÿÿ(t*(twrapperNcCs¥ddl}ddl}tdtjjddƒdtjjƒƒ|j ƒ}xO|j j ƒD]>\}}|dd!dksŠ|d kr_t |||ƒq_q_W|S( NiÿÿÿÿttermtTERMtunknowntfdiitACS_tLINEStCOLS(RR( t_cursestcursest setuptermt_ostenvirontgett_syst __stdout__tfilenotinitscrt__dict__titemstsetattr(R R tstdscrtkeytvalue((s%/usr/lib/python2.7/curses/__init__.pyRs cCsdddl}ddl}|jƒ}t|dƒrB|j|_nt|dƒr`|j|_n|S(NiÿÿÿÿtCOLORSt COLOR_PAIRS(R R t start_colorthasattrRR(R R tretval((s%/usr/lib/python2.7/curses/__init__.pyR-s (thas_key( t__doc__t __revision__R tcurses.wrapperRtosR tsysRRRRt NameError(((s%/usr/lib/python2.7/curses/__init__.pyt s