관리-도구
편집 파일: __init__.cpython-39.opt-2.pyc
a R�f) � @ s\ d dl T d dlZd dlZdd� Zdd� Zze W n eyN ddlmZ Y n0 d d � Z dS )� )�*Nc C sp dd l } dd l}ttj�dd�tj�� d� | � � }| j �� D ],\}}|dd� dks^|dv r>t|||� q>|S )Nr ZTERM�unknown)Zterm�fd� ZACS_)ZLINESZCOLS) �_curses�cursesZ setupterm�_os�environ�get�_sys� __stdout__�fileno�initscr�__dict__�items�setattr)r r �stdscr�key�value� r �4/opt/alt/python39/lib64/python3.9/curses/__init__.pyr s �r c C s@ 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 Zretvalr r r r * s r � )�has_keyc O s� ztt � }t� t� |�d� z t� W n Y n0 | |g|�R i |��W dt� v rr|�d� t� t� t� S n(dt� v r�|�d� t� t� t� 0 d S )Nr r r ) r ZnoechoZcbreakZkeypadr �localsZechoZnocbreakZendwin)�func�args�kwdsr r r r �wrapper? s4 � � r! ) r �osr �sysr r r r � NameErrorr! r r r r �<module> s