П Z^SrSSK7 SSKrSSKrSrSr\ Sr g!\ a SSKJr Nf=f) zcurses 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() ... )*Nc>SSKnSSKn[[RR SS5[ RR5S9 UR5nURR5H"up4USSS:XdUS;dM[XU5 M$ U$)NrTERMunknown)termfdACS_)LINESCOLS) _cursescurses setupterm_osenvironget_sys __stdout__filenoinitscr__dict__itemssetattr)r rstdscrkeyvalues 6/opt/alt/python313/lib64/python3.13/curses/__init__.pyrrs~3;;??695'')+ __ F&&,,.  q8v (9!9 F '/ McSSKnSSKnUR5n[US5(aURUl[US5(aUR UlU$)NrCOLORS COLOR_PAIRS)r r start_colorhasattrr r!)r rretvals rr"r"*sK  "Fw!! w &&$00 Mr)has_keyc[5n[5 [5 URS5 [ 5 U"U/UQ70UD6S[ 5;a0URS5 [ 5 [5 [5 $$! NN=f!S[ 5;a0WRS5 [ 5 [5 [5 ff=f)aWrapper function that initializes curses and calls another function, restoring normal keyboard/screen behavior on error. The callable object 'func' is then passed the main window 'stdscr' as its first argument, followed by any other arguments passed to wrapper(). r%rr) rnoechocbreakkeypadr"localsechonocbreakendwin)funcargskwdsrs rwrapperr2?s   a   MF*T*T* vx  MM!  F J H    vx  MM!  F J H s"/B B B B B AC ) __doc__r osrsysrrr"r& NameErrorr2rrr8s@  "! &! !s  ,,