AlkantarClanX12

Your IP : 3.129.45.144


Current Path : /opt/alt/python37/lib64/python3.7/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/__pycache__/tty.cpython-37.opt-1.pyc

B

� fo�@sLdZddlTddgZdZdZdZdZdZd	Zd
Z	e
fdd�Ze
fdd�Zd
S)zTerminal utilities.�)�*�setraw�	setcbreak������cCs�t|�}|tttBtBtBtB@|t<|tt@|t<|t	t
tB@|t	<|t	tB|t	<|t
ttBtBtB@|t
<d|tt<d|tt<t|||�dS)zPut terminal into a raw mode.rrN)�	tcgetattr�IFLAGZBRKINTZICRNLZINPCKZISTRIPZIXON�OFLAGZOPOST�CFLAGZCSIZEZPARENBZCS8�LFLAG�ECHO�ICANONZIEXTENZISIG�CC�VMIN�VTIME�	tcsetattr)�fd�when�mode�r�(/opt/alt/python37/lib64/python3.7/tty.pyrs"cCsFt|�}|tttB@|t<d|tt<d|tt<t|||�dS)z Put terminal into a cbreak mode.rrN)rrrrrrrr)rrrrrrrs
N)
�__doc__Ztermios�__all__rr
rrZISPEEDZOSPEEDrZ	TCSAFLUSHrrrrrr�<module>s