Your IP : 18.226.187.232


Current Path : /opt/alt/python36/lib64/python3.6/curses/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/curses/__pycache__/__init__.cpython-36.opt-2.pyc

3

��2a&
�@s^ddlTddlZddlZdd�Zdd�ZyeWn ek
rPddlmZYnXd	d
�Z	dS)�)�*NcCstddl}ddl}ttjjdd�tjj�d�|j	�}x:|j
j�D],\}}|dd�dks`|d	kr@t|||�q@W|S)
NrZTERM�unknown)Zterm�fd�ZACS_�LINES�COLS)rr)
�_curses�cursesZ	setupterm�_os�environ�get�_sys�
__stdout__�fileno�initscr�__dict__�items�setattr)rr	�stdscr�key�value�r�-/opt/alt/python36/lib64/python3.6/__init__.pyrsrcCs@ddl}ddl}|j�}t|d�r*|j|_t|d�r<|j|_|S)Nr�COLORS�COLOR_PAIRS)rr	�start_color�hasattrrr)rr	Zretvalrrrr*s

r�)�has_keycOsrzDt�}t�t�|jd�y
t�WnYnX||f|�|�Sdt�krl|jd�t�t�t�XdS)Nrrr)	rZnoechoZcbreakZkeypadr�localsZechoZnocbreakZendwin)�func�args�kwdsrrrr�wrapper?s



r#)
r�osr
�sysr
rrr�	NameErrorr#rrrr�<module>
s


?>