Your IP : 3.145.201.123


Current Path : /opt/alt/python313/lib64/python3.13/curses/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/curses/__pycache__/__init__.cpython-313.pyc

�

1}g)
��^�SrSSK7 SSKrSSKrSrSr\ Sr
g!\	a	 SSKJr Nf=f)	z�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()
   ...

�)�*Nc�>�SSKnSSKn[[RRSS5[RR5S9 UR5nURR5H"up4USSS:XdUS;dM[XU5 M$ U$)Nr�TERM�unknown)�term�fd��ACS_)�LINES�COLS)
�_curses�curses�	setupterm�_os�environ�get�_sys�
__stdout__�fileno�initscr�__dict__�items�setattr)r
r�stdscr�key�values     �6/opt/alt/python313/lib64/python3.13/curses/__init__.pyrrs~����3�;�;�?�?�6�9�5����'�'�)�+�
�_�_�
�F��&�&�,�,�.�
���q��8�v���(9�!9��F��'�/��M�c��SSKnSSKnUR5n[US5(aURUl[US5(aUR
UlU$)Nr�COLORS�COLOR_PAIRS)r
r�start_color�hasattrr r!)r
r�retvals   rr"r"*sK���
�
 �
 �
"�F��w��!�!�����
��w�
�&�&�$�0�0����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)	r�noecho�cbreak�keypadr"�locals�echo�nocbreak�endwin)�func�args�kwdsrs    r�wrapperr2?s�������	����
	�
�
�a��	��M��F�*�T�*�T�*��v�x���M�M�!���F��J��H�	 ��
	���
�v�x���M�M�!���F��J��H�	 �s"�/B
�
B�B
�B
�B
�
AC
)�__doc__r
�osr�sysrrr"r&�	NameErrorr2�rr�<module>r8s@��
�����"�!��&���!� �!�s��,�,

?>