Edit File: __init__.cpython-311.opt-1.pyc
� �����f) �����������������������^�����d�Z�ddlT�ddlZddlZd��Zd��Z �e�n#�e $�r �ddlmZ�Y�nw�xY�wd��Z dS�) 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�������������������X����dd�l�}�dd�l}t����������t����������j�����������������������������dd������������t����������j���������������������������������������������������������|�� ����������������������������������}|�j �������������������������������������������D�](\��}}|dd����������dk����s|dv�rt����������|||��������������)|S�)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/python311/lib64/python3.11/curses/__init__.pyr���r������s�����������������3�;�?�?�6�9�5�5���'�'�)�)�+��+��+��+� �_�_� � �F��&�,�,�.�.��(��(� ��U��q��s�8�v����(9�!9�!9��F�C��'�'�'���M�����c������������������������dd�l�}�dd�l}|������������������������������������}t����������|�d������������r|�j��������|_��������t����������|�d������������r|�j��������|_��������|S�)Nr����COLORS�COLOR_PAIRS)r ���r����start_color�hasattrr ���r!���)r ���r����retvals��� r���r"���r"���*���sh�������������� � � � "� "�F��w��!�!��'���� ��w� �&�&��1�$�0����Mr�������)�has_keyc��������������������� �t������������������������}t�������������������������t�������������������������|���������������������d������������� �t �������������������������n#��Y�nxY�w�|�|g|�R�i�|��dt������������������������v�r@|���������������������d�������������t �������������������������t�������������������������t�������������������������S�S�#�dt������������������������v�r@|���������������������d�������������t �������������������������t�������������������������t�������������������������w�w�xY�w)a��Wrapper 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%���r���r���) r����noecho�cbreak�keypadr"����locals�echo�nocbreak�endwin)�func�args�kwdsr���s��� r����wrapperr2���?���s������������� �������� � � � �a���� ��M�M�M�M�� ��D�����t�F�*�T�*�*�*�T�*�*���v�x�x����M�M�!�����F�F�F��J�J�J��H�H�H�H� � ��8�v�x�x����M�M�!�����F�F�F��J�J�J��H�H�H�H� � ���s$����?B4��A��B4��A�B4��4AD)�__doc__r ����osr����sysr���r���r"���r&���� NameErrorr2�����r���r����<module>r8������s������ �� ������������������������������"�����!��G�G����!��!��!� � � � � � � � �!����&��&��&��&��&s������'�'